CVE-2010-4338 ocrodjvu is vulnerable to Arbitrary File Modification via symlink attack

Medium 6.2 Published Updated

Local attackers can modify arbitrary files via symlink attacks on temporary files during OCR processing in ocrodjvu.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2010-4338?

CVE-2010-4338 is a medium-severity path traversal vulnerability in n/a, published on 20 Jan 2011. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-59

Which versions are affected by CVE-2010-4338?

3 open source packages ship an affected version, including ocrodjvu. It affects 1 product.

PackageAffectedFixed in
ocrodjvu PyPIFrom 0.4.6-10.4.6-2
ocrodjvu PyPIFrom 0.4.6-10.4.6-2
ocrodjvu PyPIFrom 0.4.6-10.4.6-2

Products include Jwilk Ocrodjvu.

How do I fix CVE-2010-4338?

Upgrade ocrodjvu to 0.4.6-2 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2010-4338 being exploited?

There is no known exploitation of CVE-2010-4338 in the wild and no public exploit code.

Sources

Also known as GHSA-5pjj-7m4p-wfh2, PYSEC-2026-886.

Is CVE-2010-4338 in your software?

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

Check your SBOMs for free