CVE-2008-2942

NameCVE-2008-2942
DescriptionDirectory 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs488628

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mercurial (PTS)jessie3.1.2-2+deb8u4fixed
jessie (security)3.1.2-2+deb8u7fixed
stretch (security), stretch4.0-1+deb9u1fixed
buster4.8.2-1+deb10u1fixed
bullseye4.9-2fixed
sid5.1.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mercurialsource(unstable)1.0.1-2low488628
mercurialsourceetch(not affected)

Notes

[etch] - mercurial <not-affected> (Vulnerable functionality not present)

Search for package or bug name: Reporting problems