GHSA-rcrv-228c-gprj Invalid URL generation in bitlyshortener

Not scored Published

The library generates invalid URLs due to upstream changes, requiring an upgrade to restore functionality.

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

What is GHSA-rcrv-228c-gprj?

GHSA-rcrv-228c-gprj is a vulnerability in bitlyshortener, published on 21 Jan 2022. 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.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

Which versions are affected by GHSA-rcrv-228c-gprj?

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

PackageAffectedFixed in
bitlyshortener PyPIAll versions0.6.0
bitlyshortener PyPIAll versions0.6.0

How do I fix GHSA-rcrv-228c-gprj?

Upgrade bitlyshortener to 0.6.0 or later.

Is GHSA-rcrv-228c-gprj being exploited?

There is no known exploitation of GHSA-rcrv-228c-gprj in the wild and no public exploit code.

Sources

Is GHSA-rcrv-228c-gprj in your software?

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

Check your SBOMs for free