{"id":"GHSA-rcrv-228c-gprj","summary":"Invalid URL generation in bitlyshortener","details":"### Impact\nDue to a sudden upstream breaking change by Bitly, versions of `bitlyshortener` \u003c0.6.0 generate invalid short URLs. All users are affected and must update immediately.\n\n### Patches\nUpgrading `bitlyshortener` to 0.6.0 or newer will prevent the generation such invalid short URLs.\n\n### Workarounds\nA workaround is to replace \"https://j.mp/\" in each generated short URL with \"https://bit.ly/\".\n\n### References\n* [Release notes](https://github.com/impredicative/bitlyshortener/releases)","modified":"2024-12-04T05:42:18.698721Z","published":"2022-01-21T18:39:40Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-01-20T18:36:49Z","nvd_published_at":null,"cwe_ids":[]},"references":[{"type":"WEB","url":"https://github.com/impredicative/bitlyshortener/security/advisories/GHSA-rcrv-228c-gprj"},{"type":"WEB","url":"https://github.com/impredicative/bitlyshortener/commit/b307d70bedf745305fa0dd3c5c600d8cb88d09b5"},{"type":"PACKAGE","url":"https://github.com/impredicative/bitlyshortener"},{"type":"WEB","url":"https://github.com/impredicative/bitlyshortener/releases/tag/0.6.0"}],"affected":[{"package":{"name":"bitlyshortener","ecosystem":"PyPI","purl":"pkg:pypi/bitlyshortener"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.0"}]}],"versions":["0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.0.9","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.2.0","0.2.1","0.2.2","0.2.3","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.6","0.3.7","0.4.0","0.4.1","0.4.2","0.4.3","0.5.0","0.5.1","0.5.2","0.5.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-rcrv-228c-gprj/GHSA-rcrv-228c-gprj.json"}}],"schema_version":"1.9.0"}