GHSA-rcrv-228c-gprj

Suggest an improvement
Source
https://github.com/advisories/GHSA-rcrv-228c-gprj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-rcrv-228c-gprj/GHSA-rcrv-228c-gprj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rcrv-228c-gprj
Published
2022-01-21T18:39:40Z
Modified
2024-12-04T05:42:18Z
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

Database specific
{
    "cwe_ids": [],
    "github_reviewed": true,
    "github_reviewed_at": "2022-01-20T18:36:49Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
}
References

Affected packages

PyPI / bitlyshortener

Package

Name
bitlyshortener
View open source insights on deps.dev
Purl
pkg:pypi/bitlyshortener

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.6.0

Affected versions

0.*
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.2.0
0.2.1
0.2.2
0.2.3
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.6
0.3.7
0.4.0
0.4.1
0.4.2
0.4.3
0.5.0
0.5.1
0.5.2
0.5.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-rcrv-228c-gprj/GHSA-rcrv-228c-gprj.json"