GHSA-r82c-j4mq-5xfw Update bitlyshortener to >=0.5.0 to prevent generating some invalid short URLs

Not scored Published

An upstream API change causes the library to generate invalid short URLs when vanity domains are used, requiring an upgrade to fix.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-r82c-j4mq-5xfw?

GHSA-r82c-j4mq-5xfw is a vulnerability in bitlyshortener, published on 27 Oct 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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

Which versions are affected by GHSA-r82c-j4mq-5xfw?

2 open source packages ship an affected version, including bitlyshortener.

PackageAffectedFixed in
bitlyshortener PyPIAll versions0.5.0
bitlyshortener PyPIAll versions0.5.0

How do I fix GHSA-r82c-j4mq-5xfw?

Upgrade bitlyshortener to 0.5.0 or later.

Is GHSA-r82c-j4mq-5xfw being exploited?

There is no known exploitation of GHSA-r82c-j4mq-5xfw in the wild and no public exploit code.

Sources

Is GHSA-r82c-j4mq-5xfw in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free