MEDIUM
mercurial: insufficient input validationn allowing file renames out of repository
Published Jun 30, 2008
6.8
MEDIUMCVSS 2.0
EPSS 1.90%
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
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
6.8 MEDIUM NVD
AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
1.90% 0.01901
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
EPSS probability 0.01901
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.90% (0.01901) | 78.94th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.88% (0.01885) | 76.73th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.58% (0.00581) | 67.03th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.75% (0.00747) | 81.62th | v3 (v2023.03.01) |
| Jul 6, 2024 | 0.75% (0.00747) | 81.06th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.77% (0.00767) | 80.62th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.77% (0.00767) | 78.40th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
Weaknesses (2)
References (18)
- http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html vendor-advisoryx_refsource_SUSE
- http://secunia.com/advisories/31108 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/31110 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/31167 third-party-advisoryx_refsource_SECUNIA
- http://security.gentoo.org/glsa/glsa-200807-09.xml vendor-advisoryx_refsource_GENTOO
- http://wiki.rpath.com/Advisories:rPSA-2008-0211 x_refsource_CONFIRM
- http://www.openwall.com/lists/oss-security/2008/06/30/1 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2008/07/01/1 mailing-listx_refsource_MLIST
- http://www.securityfocus.com/archive/1/493881/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/bid/30072 vdb-entryx_refsource_BID
- http://www.selenic.com/hg/rev/87c704ac92d4 x_refsource_CONFIRMExploit
- https://access.redhat.com/security/cve/CVE-2008-2942 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=453550 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/43551 vdb-entryx_refsource_XF
- https://github.com/advisories/GHSA-v2gw-x5jf-pgwv Advisory
- https://issues.rpath.com/browse/RPL-2633 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2008-2942
- https://www.cve.org/CVERecord?id=CVE-2008-2942
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Jun 30, 2008
Updated Aug 7, 2024
Reserved Jun 30, 2008
Link CVE-2008-2942
CISA Vulnrichment
GHSA-V2GW-X5JF-PGWV Updated n/a