
CVE catalog
CVE-2008-2942
mercurial: CVE-2008-2942
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.90% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mercurial | sid | 7.2.4-2 | fixed |
| Debian | mercurial | forky | 7.2.4-2 | fixed |
| Debian | mercurial | trixie | 7.0.1-2 | fixed |
| Debian | mercurial | bookworm | 6.3.2-1+deb12u1 | fixed |
| Debian | mercurial | bookworm-security | 6.3.2-1+deb12u1 | fixed |
| Opensuse | mercurial | tumbleweed | 5.9.1-2.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mercurial | source | sid | 1.0.1-2 | low | Not reported | [488628] |
| Debian | mercurial | source | forky | 1.0.1-2 | low | Not reported | [488628] |
| Debian | mercurial | source | trixie | 1.0.1-2 | low | Not reported | [488628] |
| Debian | mercurial | source | bookworm | 1.0.1-2 | low | Not reported | [488628] |
| Opensuse | mercurial | rpm | tumbleweed | 5.9.1-2.1 | Not reported | OPENSUSE-SU-2024:10586-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [mercurial-lang]Unknown
Source package: [mercurial]
Details (1)
7.2.4-1.1· noarch · tumbleweedUnknown · Fixed:
5.9.1-2.1Version impact unknown
dsa · mercurial · opensuse · tumbleweed
- [mercurial-rust]Unknown
Source package: [mercurial]
Details (1)
7.2.4-1.1· x86_64 · tumbleweedUnknown · Fixed:
5.9.1-2.1Version impact unknown
dsa · mercurial · opensuse · tumbleweed
- [mercurial-tests]Unknown
Source package: [mercurial]
Details (1)
7.2.4-1.1· noarch · tumbleweedUnknown · Fixed:
5.9.1-2.1Version impact unknown
dsa · mercurial · opensuse · tumbleweed
- [mercurial]Fixed
Source package: [mercurial]
Details (1)
7.2.4-1.1· x86_64 · tumbleweedFixed · Fixed:
5.9.1-2.1dsa · mercurial · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [mercurial]Fixed
Details (4)
6.3.2-1+deb12u1· amd64 · bookwormFixed · Fixed:
1.0.1-2dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· arm64 · bookwormFixed · Fixed:
1.0.1-2dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.0.1-2dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.0.1-2dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
- [mercurial-common]Fixed
Source package: [mercurial]
Details (4)
6.3.2-1+deb12u1· all · bookwormFixed · Fixed:
1.0.1-2dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· all · bookwormFixed · Fixed:
1.0.1-2dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· all · bookworm-securityFixed · Fixed:
1.0.1-2dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· all · bookworm-securityFixed · Fixed:
1.0.1-2dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
[Debian 13 (Trixie)]
- [mercurial]Fixed
Details (2)
7.0.1-2· amd64 · trixieFixed · Fixed:
1.0.1-2dsa · mercurial · debian · 13
7.0.1-2· arm64 · trixieFixed · Fixed:
1.0.1-2dsa · mercurial · debian · 13
- [mercurial-common]Fixed
Source package: [mercurial]
Details (2)
7.0.1-2· all · trixieFixed · Fixed:
1.0.1-2dsa · mercurial · debian · 13
7.0.1-2· all · trixieFixed · Fixed:
1.0.1-2dsa · mercurial · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_10586-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2008-2942]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:10586-1]
- [https://security-tracker.debian.org/tracker/CVE-2008-2942]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]