ocrodjvu is vulnerable to Arbitrary File Modification via symlink attackGHSA-5pjj-7m4p-wfh2
GHSA-5pjj-7m4p-wfh2 is a CWE-59 vulnerability in ocrodjvu. A fix is available for ocrodjvu — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
ocrodjvuReal-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
ocrodjvu 0.4.6-1 on Debian GNU/Linux allows local users to modify arbitrary files via a symlink attack on temporary files that are generated when Cuneiform is invoked as the OCR engine.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | ocrodjvu | ≥ 0.4.6-1&&< 0.4.6-2 | 0.4.6-2pip install --upgrade 'ocrodjvu==0.4.6-2' |
Affected Products
ocrodjvujwilkDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for ocrodjvu, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update ocrodjvu to 0.4.6-2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-5pjj-7m4p-wfh2 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-5pjj-7m4p-wfh2 in your dependencies?
Find it across PyPI, including transitive dependencies.