Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2008-2942

mercurial: insufficient input validationn allowing file renames out of repository

Overview

Published
30 Jun 2008
Modified
23 Apr 2026
Medium CVE
1 Registry packages
3 OS packages
3 Linux distributions
Yes Fix available

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

Packages affected by CVE-2008-2942
EcosystemPackageVulnerableFixed 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
debian fixes for CVE-2008-2942
ReleasePackageFixed 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
echo fixes for CVE-2008-2942
ReleasePackageFixed in
mercurial 1.0.1-2

openSUSE 1 release · 1 package

fixed 1
mercurial
openSUSE fixes for CVE-2008-2942
ReleasePackageFixed inAdvisory
Tumbleweed mercurial +2 5.9.1-2.1 openSUSE-SU-2024:10586-1

References

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.