CVE-2021-3342: EPrints - Path Traversal & Command Injection
- Cve: CVE-2021-3342
- Name: EPrints - Path Traversal & Command Injection
- Description: EPrints 3.4.2 allows remote attackers to read arbitrary files and possibly execute commands via crafted LaTeX input to a cgi/latex2png?latex= URI.
- Impact: Attackers can read sensitive files and execute arbitrary commands on the server, leading to data breach and system compromise.
- Remediation: Update to the latest version of EPrints or apply security patches addressing LaTeX input handling.
- Vulnerability type: command_injection
- Vulnerability impact: file_system_read, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.04232
- Epss percentile: 0.91171
- Assignee: [email protected]
- Published at: 2021-03-01T22:15:14Z
- Age in days: 2094
- Modified at: 2026-06-17T04:04:58Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3342
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/grymer/CVE/blob/master/eprints_security_review.pdf | nvd | 2021-03-01 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://files.eprints.org/2548/ | Patch, Vendor Advisory |
| https://files.eprints.org/2549/ | Patch, Vendor Advisory |
| https://github.com/grymer/CVE/blob/master/eprints_security_review.pdf | Exploit, Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| eprints:eprints | = 3.4.2 | no | nvd | /v1/products/eprints/eprints |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-03-01
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts