|
Mercurial Multiple Vulnerabilities
|
|
Secunia Advisory:
|
SA31108
|
|
|
Release Date:
|
2008-07-16
|
|
Last Update:
|
2008-10-01
|
|
Popularity:
|
1,572 views
|
|
|
Critical:
|
 Less critical
|
|
Impact:
|
Security Bypass Manipulation of data
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | Mercurial 1.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2008-2942 CVE-2008-4297
|
|
Description: Some security issues have been reported in Mercurial, which can be exploited by malicious people to manipulate certain data or bypass certain security restrictions.
1) A security issue is caused due to an error within the "applydiff()" function in mercurial/patch.py. This can be exploited to manipulate arbitrary files placed outside the repository via directory traversal attacks.
Successful exploitation requires that a user is tricked into importing a malicious patch.
2) A security issue is caused due to hgweb not correctly honoring the "allowpull" setting, which can be exploited to e.g. pull from restricted repositories.
The security issue are reported in versions prior to 1.0.2.
Solution: Update to version 1.0.2.
Provided and/or discovered by: 1) Gentoo credits Jakub Wilk.
2) Reported by the vendor.
Changelog: 2008-09-18: Added vulnerability #2. Updated "Solution" section. Increased "Criticality".
2008-10-01: Added CVE reference.
Original Advisory: http://www.selenic.com/mercurial/wiki...b8adb3420a77d92617e06590055bd8952e02b
1) http://bugs.gentoo.org/show_bug.cgi?id=230193
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|