Back
CVE-2008-2942
Directory traversal vulnerability in patch.py in Mercurial 1.0.1 allows user-assisted attackers to modify arbitrary files via ".." (dot…
Medium6.8EPSS 1.9%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 1.9% · top 20% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPImercurialGHSA-v2gw-x5jf-pgwv (opens in a new tab)
References (13)
- http://www.selenic.com/hg/rev/87c704ac92d4 (opens in a new tab)x_refsource_CONFIRMx_transferred
- mercurial-patch-directory-traversal(43551) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 30072 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://issues.rpath.com/browse/RPL-2633 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20080630 CVE id request mercurial:Insufficient input validation (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- SUSE-SR:2008:015 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- http://wiki.rpath.com/Advisories:rPSA-2008-0211 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20080703 rPSA-2008-0211-1 mercurial mercurial-hgk (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- GLSA-200807-09 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- [oss-security] 20080701 Re: CVE id request mercurial:Insufficient input validation (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 31110 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 31167 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 31108 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-v2gw-x5jf-pgwv (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2008-2942)Record last updated .