Invalid 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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | bitlyshortener | < 0.6.0 | 0.6.0 |
References
- Weakness (CWE)
-- Platform
- Python (PyPI)
- Package
bitlyshortener- Disclosed
- 21.01.2022
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - GHSA-rcrv-228c-gprj - CC BY 4.0
Vulnerability history: bitlyshortener
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 10.2020 11.2022
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
- Low 1
Disclosures per year
- 2020: 1
- 2021: 0
- 2022: 2
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Invalid URL generation in bitlyshortener this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.