# Update bitlyshortener to >=0.5.0 to prevent generating some invalid short URLs

Source: https://junglewise.ai/threats/update-bitlyshortener-to-0-5-0-to-prevent-generating-some-invalid-short-02990e18  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-10-27  
License: CC BY 4.0 with a link back

Severity: info · Published 2020-10-27

Update bitlyshortener to >=0.5.0 to prevent generating some invalid short URLs

Technologies: [bitlyshortener (PyPI)](https://junglewise.ai/threats/technologies/bitlyshortener). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 27 October 2020.

**Which products and versions are affected?** bitlyshortener (PyPI) ECOSYSTEM:introduced=0,fixed=0.5.0.

**Is there a fix for This vulnerability?** Yes. bitlyshortener (PyPI): upgrade to 0.5.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run bitlyshortener (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- bitlyshortener (PyPI): upgrade to 0.5.0 or later

  ```sh
  pip install "bitlyshortener>=0.5.0"
  ```


## Affected products

- bitlyshortener (PyPI) ECOSYSTEM:introduced=0,fixed=0.5.0

## Related threats

- [Package discontinued because Bitly lowered the free quota](https://junglewise.ai/threats/package-discontinued-because-bitly-lowered-the-free-quota-e2f36780)
- [Invalid URL generation in bitlyshortener](https://junglewise.ai/threats/invalid-url-generation-in-bitlyshortener-1c01b88c)
