CVE-2013-2117
What it is
Directory traversal vulnerability in the cgit_parse_readme function in ui-summary.c in cgit before 0.9.2, when a readme file is set to a filesystem path, allows remote attackers to read arbitrary files via a .. (dot dot) in the url parameter.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 1.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.8% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.8% · EPSS, next 30 days
- Weakness
- CWE-22 · Path traversal
- Record status
- Modified
Affected
- Jason A Donenfeld Cgit ≤ 0.9.1
- Lars Hjemli Cgit 0.1
- Lars Hjemli Cgit 0.2
- Lars Hjemli Cgit 0.3
- Lars Hjemli Cgit 0.4
- Lars Hjemli Cgit 0.5
- Lars Hjemli Cgit 0.6
- Lars Hjemli Cgit 0.6.1
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
Raw vector
AV:N/AC:M/Au:N/C:P/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2013-2117.md and follow it. Check whether this project is affected by CVE-2013-2117. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://git.zx2c4.com/cgit/commit/?h=wip&id=babf94e04e74123eb658a823213c062663cdadd6
- http://secunia.com/advisories/54186
- http://git.zx2c4.com/cgit/commit/?h=wip&id=babf94e04e74123eb658a823213c062663cdadd6
- http://secunia.com/advisories/54186
References
- http://git.zx2c4.com/cgit/commit/?h=wip&id=babf94e04e74123eb658a823213c062663cdadd6
- http://lists.opensuse.org/opensuse-updates/2013-07/msg00061.html
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00012.html
- http://lists.zx2c4.com/pipermail/cgit/2013-May/001394.html
- http://secunia.com/advisories/54186
- http://www.openwall.com/lists/oss-security/2013/05/27/3
- http://git.zx2c4.com/cgit/commit/?h=wip&id=babf94e04e74123eb658a823213c062663cdadd6
- http://lists.opensuse.org/opensuse-updates/2013-07/msg00061.html
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00012.html
- http://lists.zx2c4.com/pipermail/cgit/2013-May/001394.html
- http://secunia.com/advisories/54186
- http://www.openwall.com/lists/oss-security/2013/05/27/3