CVE-2022-31508: idayrus/evoting - Path Traversal
- Cve: CVE-2022-31508
- Name: idayrus/evoting - Path Traversal
- Description: The idayrus/evoting repository before 2022-05-08 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
- Impact: Attackers can access arbitrary files on the server, potentially leading to information disclosure.
- Remediation: Update the code to safely handle file paths, or upgrade to the latest version if available.
- Vulnerability type: path_traversal
- Vulnerability impact: information_disclosure, file_system_read
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
- Epss score: 0.01506
- Epss percentile: 0.75039
- Assignee: [email protected]
- Published at: 2022-07-11T01:15:08Z
- Age in days: 1597
- Modified at: 2026-06-17T04:45:35Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-31508
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/github/securitylab/issues/669#issuecomment-1117265726 | nvd | 2022-07-11 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/idayrus/evoting/commit/241d92a4d68f524365a6322b5bbcfaa7d9abc8a3 | nvd | Patch, Third Party Advisory |
| https://github.com/github/securitylab/issues/669#issuecomment-1117265726 | nvd | Exploit, Issue Tracking, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| idayrus:e-voting | < 2022-05-08 | no | nvd | /v1/products/idayrus/e-voting |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| idayrus/evoting | commit | yes | /v1/repositories/idayrus/evoting |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-07-11
- 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