Security mailing lists by PureSourceCode

CVE-2008-2942

MEDIUM 6.8CVSS 2.0

Mercurial Directory traversal vulnerability

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.

Published
30 Jun 2008
Last modified
6 Jul 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-v2gw-x5jf-pgwvPYSEC-2026-666
Sources
NVDJSONOSV GHSA-v2gw-x5jf-pgwvJSONOSV PYSEC-2026-666JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mercurial mercurial
cpe:2.3:a:mercurial:mercurial:1.0.1:*:*:*:*:*:*:*
= 1.0.1
OSV PyPI mercurial < 1.0.2 1.0.2

References

History

  • 25 Nov 2026 20:14 UTC · NVD: first stored (published 30 Jun 2008)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.