{"id":"GHSA-rcrv-228c-gprj","aliases":[],"status":"published","title":"Invalid URL generation in bitlyshortener","description":"### 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)","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2022-01-21T18:39:40Z","modified":"2024-12-04T05:42:18Z","fixes":[{"ecosystem":"PyPI","package":"bitlyshortener","fixed_in":["0.6.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"bitlyshortener","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"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"]}],"references":[{"url":"https://github.com/impredicative/bitlyshortener/security/advisories/GHSA-rcrv-228c-gprj","tags":["web"]},{"url":"https://github.com/impredicative/bitlyshortener/commit/b307d70bedf745305fa0dd3c5c600d8cb88d09b5","tags":["web"]},{"url":"https://github.com/impredicative/bitlyshortener/releases/tag/0.6.0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rcrv-228c-gprj"},{"url":"https://github.com/impredicative/bitlyshortener","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-rcrv-228c-gprj","title":"Invalid URL generation in bitlyshortener","description":"### 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)","status":"published","published":"2022-01-21T18:39:40Z","modified":"2023-01-11T05:03:55Z","updated_at":"2026-11-02T14:36:12.361159Z"}],"osv":[{"id":"GHSA-rcrv-228c-gprj","title":"Invalid URL generation in bitlyshortener","description":"### 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)","status":"published","published":"2022-01-21T18:39:40Z","modified":"2024-12-04T05:42:18.698721Z","updated_at":"2026-11-02T15:46:55.877614Z"}]}}
