What’s Vulnerable › Vulnerabilities
CVE-2008-2942
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2008-06-30 · updated 2026-06-16
- Weakness: CWE-22
Description
Directory traversal vulnerability in patch.py in Mercurial 1.0.1 allows user-assisted attackers to modify arbitrary files via ".." (dot dot) sequences in a patch file.
Affected products
- mercurial: 1.0.1
References
- http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html
- http://secunia.com/advisories/31108
- http://secunia.com/advisories/31110
- http://secunia.com/advisories/31167
- http://security.gentoo.org/glsa/glsa-200807-09.xml
- http://wiki.rpath.com/Advisories:rPSA-2008-0211
- http://www.openwall.com/lists/oss-security/2008/06/30/1
- http://www.openwall.com/lists/oss-security/2008/07/01/1
- http://www.securityfocus.com/archive/1/493881/100/0/threaded
- http://www.securityfocus.com/bid/30072
- http://www.selenic.com/hg/rev/87c704ac92d4
- https://exchange.xforce.ibmcloud.com/vulnerabilities/43551
Get alerted when CVE-2008-2942 or the next vulnerability affects your stack