CVE-2008-2942
mercurial: insufficient input validationn allowing file renames out of repository
Overview
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.
Source: OX vulnerability database
Severity
6.8 · MEDIUM
CVSS 2.0 base score, scored by NVD.
- Access vector
- Network
- Access complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
AV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness: CWE-22
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | mercurial | <1.0.2 | 1.0.2 |
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
debian 4 releases · 1 package
fixed 4
mercurial
| Release | Package | Fixed in |
|---|---|---|
| 11 | mercurial | 1.0.1-2 |
| 12 | mercurial | 1.0.1-2 |
| 13 | mercurial | 1.0.1-2 |
| 14 | mercurial | 1.0.1-2 |
echo 1 release · 1 package
fixed 1
mercurial
| Release | Package | Fixed in |
|---|---|---|
| mercurial | 1.0.1-2 |
openSUSE 1 release · 1 package
fixed 1
mercurial
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | mercurial +2 | 5.9.1-2.1 | openSUSE-SU-2024:10586-1 |
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html
- secunia.com http://secunia.com/advisories/31108
- secunia.com http://secunia.com/advisories/31110
- secunia.com http://secunia.com/advisories/31167
- security.gentoo.org http://security.gentoo.org/glsa/glsa-200807-09.xml
- wiki.rpath.com http://wiki.rpath.com/Advisories:rPSA-2008-0211
- www.openwall.com http://www.openwall.com/lists/oss-security/2008/06/30/1
- www.openwall.com http://www.openwall.com/lists/oss-security/2008/07/01/1
- www.securityfocus.com http://www.securityfocus.com/archive/1/493881/100/0/threaded
- www.securityfocus.com http://www.securityfocus.com/bid/30072
Show all 17 references
- www.selenic.com http://www.selenic.com/hg/rev/87c704ac92d4
- access.redhat.com https://access.redhat.com/security/cve/CVE-2008-2942
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/43551
- github.com https://github.com/dscho/hg
- issues.rpath.com https://issues.rpath.com/browse/RPL-2633
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2008-2942
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2008-2942
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.