Bug#488628: mercurial: Insufficient input validation

2008-06-30 Thread Nico Golde
Hi, the following CVE id has been assigned to this issue, please reference it in the changelog when closing this bug. Name: CVE-2008-2942 Status: Candidate URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2942 Reference: CONFIRM:http://www.selenic.com/hg/rev/87c704ac92d4 Reference: MLI

Bug#488628: mercurial: Insufficient input validation

2008-06-30 Thread Steffen Joeris
Package: mercurial Severity: grave Tags: security, patch Justification: user security hole Hi It is possible to rename arbitrary files, even outside the repository by using a maliciously crafted patch. Proof of concept: echo quux > /tmp/foo cat /tmp/foo /tmp/bar quux cat: /tmp/bar: No such file