CVE-2008-2942
mediumpriority · track · 28EPSS 0.019 · 80 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-v2gw-x5jf-pgwvMercurial Directory traversal vulnerability2022-05-01ghsa · osvUS
Directory traversal vulnerability in patch.py in Mercurial before 1.0.2 allows user-assisted attackers to modify arbitrary files via ".." (dot dot) sequences in a patch file.
- PYSEC-2026-666Mercurial Directory traversal vulnerability2026-07-02vendor · osvUS
Directory traversal vulnerability in patch.py in Mercurial before 1.0.2 allows user-assisted attackers to modify arbitrary files via ".." (dot dot) sequences in a patch file.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (26)
External citations — patches, advisories, analysis.
- http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.htmlenisa_euvd
- http://secunia.com/advisories/31108enisa_euvd
- http://secunia.com/advisories/31110enisa_euvd
- http://secunia.com/advisories/31167enisa_euvd
- http://security.gentoo.org/glsa/glsa-200807-09.xmlenisa_euvd
- http://wiki.rpath.com/Advisories:rPSA-2008-0211enisa_euvd
- http://www.openwall.com/lists/oss-security/2008/06/30/1enisa_euvd
- http://www.openwall.com/lists/oss-security/2008/07/01/1enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan