{"id":"GHSA-rcrv-228c-gprj","aliases":["GHSA-rcrv-228c-gprj"],"related":[],"kind":"vulnerability","state":"published","title":"Invalid URL generation in bitlyshortener","summary":"### Impact\nDue to a sudden upstream breaking change by Bitly, versions of `bitlyshortener` <0.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)","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\nDue to a sudden upstream breaking change by Bitly, versions of `bitlyshortener` <0.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)","format":"markdown","source":"ghsa"}],"published":"2022-01-21T18:39:40.000Z","modified":"2024-12-04T05:42:18.698Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.6.0"}],"ecosystem":"PyPI","package":"bitlyshortener","purl":"pkg:pypi/bitlyshortener","source":"ghsa"}],"references":[{"url":"https://github.com/impredicative/bitlyshortener/security/advisories/GHSA-rcrv-228c-gprj","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/impredicative/bitlyshortener/commit/b307d70bedf745305fa0dd3c5c600d8cb88d09b5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/impredicative/bitlyshortener","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/impredicative/bitlyshortener/releases/tag/0.6.0","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rcrv-228c-gprj","url":"https://github.com/advisories/GHSA-rcrv-228c-gprj","licence":"CC-BY-4.0","modified":"2024-12-04T05:42:18.698Z"}],"updatedAt":"2026-11-25T22:56:36.447Z"}