# GHSA-R82C-J4MQ-5XFW: Update bitlyshortener to \>=0.5.0 to prevent generating some invalid short URLs

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2020-10-27
- Modified: 2024-12-02

## Affected versions

- bitlyshortener (PyPI): fixed in 0.5.0

## Description

### Impact
Due to a sudden upstream breaking change by Bitly, versions of `bitlyshortener` <0.5.0 can generate an invalid short URL when a vanity domain exists.

### Patches
Upgrading `bitlyshortener` to 0.5.0 or newer will prevent the generation of any such invalid short URLs.

### References
* [Release notes](https://github.com/impredicative/bitlyshortener/releases)

## References

- https://github.com/impredicative/bitlyshortener/security/advisories/GHSA-r82c-j4mq-5xfw
- https://github.com/impredicative/bitlyshortener/commit/3d412feb77f3daf6f71536463734c2119a55968d
- https://github.com/impredicative/bitlyshortener/releases/tag/0.5.0
- https://pypi.org/project/bitlyshortener

Page: https://cve.now/GHSA-R82C-J4MQ-5XFW

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
