GHSA-rcrv-228c-gprj
MEDIUMInvalid URL generation in bitlyshortener
Impact
Due 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.
Patches
Upgrading bitlyshortener to 0.6.0 or newer will prevent the generation such invalid short URLs.
Workarounds
A workaround is to replace "https://j.mp/" in each generated short URL with "https://bit.ly/".
References
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | bitlyshortener | < 0.6.0 | 0.6.0 |
References
- https://github.com/impredicative/bitlyshortener/security/advisories/GHSA-rcrv-228c-gprj · WEB
- https://github.com/impredicative/bitlyshortener/commit/b307d70bedf745305fa0dd3c5c600d8cb88d09b5 · WEB
- https://github.com/impredicative/bitlyshortener · PACKAGE
- https://github.com/impredicative/bitlyshortener/releases/tag/0.6.0 · WEB
History
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Jan 2022)