Advisory

GHSA-rcrv-228c-gprj

Also known as: None

Summary

Invalid URL generation in bitlyshortener

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-01-21 18:39 UTC
Modified
2024-12-04 05:42 UTC

Affected packages and fixes

bitlyshortener

PyPI · All systems

Affected

  • introduced 0, fixed 0.6.0 (ecosystem)

Fixed versions

0.6.0

Fix

  • Fixed version 0.6.0
    pip install --upgrade bitlyshortener==0.6.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences