CVE-2012-3521 qbnz geshi: Path traversal
qbnz geshi: no CVSS score yet. EPSS 3.2% estimated probability of exploitation activity in the next 30 days. Fixed in geshi/geshi 1.0.8.11.
On this page
Multiple directory traversal vulnerabilities in the cssgen contrib module in GeSHi before 1.0.8.11 allow remote attackers to read arbitrary files via a .. (dot dot) in the (1) geshi-path or (2) geshi-lang-path parameter.
- EPSS
- 3.2% (unchanged from 3.2% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
- OWASP Top 10
- A01:2025 Broken Access Control
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
geshi/geshi(Packagist): fixed in 1.0.8.11- Debian: fixed package versions per release
- Patch: http://sourceforge.net/p/geshi/code/2507/
Ask an AI about this CVE
Show the prompt
Explain CVE-2012-3521 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-3521?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-3521?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-3521 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| qbnz:geshi | through 1.0.8.10 |
| qbnz:geshi | 1.0.8.4 |
| qbnz:geshi | 1.0.8.5 |
| qbnz:geshi | 1.0.8.6 |
| qbnz:geshi | 1.0.8.7 |
| qbnz:geshi | 1.0.8.8 |
| qbnz:geshi | 1.0.8.9 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-fw3x-2pr2-5j64 | Packagist | geshi/geshi | <1.0.8.11 | 1.0.8.11 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | geshi | 1.0.8.4-2 | DEBIAN-CVE-2012-3521 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
Attack patterns (CAPEC)
- CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
- CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
- CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
- CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
- CAPEC-126 Path Traversal Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://sourceforge.net/p/geshi/code/2507/
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105247.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105273.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/105317.html
- http://www.openwall.com/lists/oss-security/2012/08/21/11
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685324