MEDIUM · 6.8

CVE-2008-2942

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.

Vulnerability 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.

CVSS Score

6.8

MEDIUM

AV:N/AC:M/Au:N/C:P/I:P/A:P
Confidentiality
PARTIAL
Integrity
PARTIAL
Availability
PARTIAL

Affected Products

VendorProductVersions
MercurialMercurial1.0.1

Related Weaknesses (CWE)

References

FAQ

What is CVE-2008-2942?

CVE-2008-2942 is a vulnerability with a CVSS score of 6.8 (MEDIUM). 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.

How severe is CVE-2008-2942?

CVE-2008-2942 has been rated MEDIUM with a CVSS base score of 6.8/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2008-2942?

Check the references section above for vendor advisories and patch information. Affected products include: Mercurial Mercurial.