Improper Link Resolution Before File Access in logilab-commonsGHSA-rr52-wg7f-8875
MEDIUMGHSA-rr52-wg7f-8875 is a medium-severity (CVSS 5.6) CWE-59 vulnerability in logilab-common. A fix is available for logilab-common — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
logilab-commonReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
The (1) extract_keys_from_pdf and (2) fill_pdf functions in pdf_ext.py in logilab-commons before 0.61.0 allows local users to overwrite arbitrary files and possibly have other unspecified impact via a symlink attack on /tmp/toto.fdf.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | logilab-common | all versions | 0.61.0pip install --upgrade 'logilab-common==0.61.0' |
Affected Products
logilab-commonlogilabopensuseopensuseDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for logilab-common, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update logilab-common to 0.61.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-rr52-wg7f-8875 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-rr52-wg7f-8875 in your dependencies?
Find it across PyPI, including transitive dependencies.