CVE-2010-4338: Ocrodjvu Ocrodjvu Is Vulnerable To Arbitrary Vulnerability
MODERATECVE-2010-4338 is a MODERATE ocrodjvu is vulnerable to arbitrary vulnerability (CWE-59: Improper Link Resolution Before File Access ('Link Following')) affecting Ocrodjvu libraries in the PyPI ecosystem. The issue involves ocrodjvu is vulnerable to arbitrary file modification via symlink attack. Remediation is available by upgrading affected packages to version 0.4.6-2.
CVE-2010-4338 at a Glance
How to Fix CVE-2010-4338
To remediate this vulnerability, upgrade all affected Ocrodjvu dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install ocrodjvu>=0.4.6-2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show ocrodjvu
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2010-4338, inspect your installed packages using pip:
pip show ocrodjvu
Analyze the terminal output to locate any version of Ocrodjvu in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.4.6-2), your application is affected.
Note: The pip show ocrodjvu command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-59: Improper Link Resolution Before File Access ('Link Following'), where the product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource. In Ocrodjvu, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2010-4338 Affected Ocrodjvu Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ocrodjvu
|
PyPI |
≥ 0.4.6-1
< 0.4.6-2
All 1 versions
0.4.6-1
|
0.4.6-2
|
References
Frequently Asked Questions
What is CVE-2010-4338?
Which Ocrodjvu versions are affected?
What version fixes CVE-2010-4338?
Is ocrodjvu affected?
What CWE is associated with CVE-2010-4338?
How can I check PyPI dependencies for CVE-2010-4338?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5pjj-7m4p-wfh2",
"modified" : "2024-02-07T22:40:09Z",
"published" : "2022-05-17T02:04:28Z",
"aliases" : [ "CVE-2010-4338" ],
"summary" : "ocrodjvu is vulnerable to Arbitrary File Modification via symlink attack",
"details" : "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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "ocrodjvu"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.4.6-1"
}, {
"fixed" : "0.4.6-2"
} ]
} ],
"versions" : [ "0.4.6-1" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-4338"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/64892"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jwilk-archive/ocrodjvu"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200229160520/http://www.securityfocus.com/bid/45234"
}, {
"type" : "WEB",
"url" : "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598134"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-59" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-07T22:40:09Z",
"nvd_published_at" : "2011-01-20T19:00:00Z"
}
}