First published: Sat Sep 27 2008(Updated: )
Mercurial before 1.0.2 does not enforce the allowpull permission setting for a pull operation from hgweb, which allows remote attackers to read arbitrary files from a repository via an "hg pull" request.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Mercurial | <=1.0.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2008-4297 is classified as a medium-severity vulnerability.
CVE-2008-4297 allows remote attackers to read arbitrary files from a Mercurial repository due to improper enforcement of the allowpull permission setting.
CVE-2008-4297 affects Mercurial versions prior to 1.0.2.
To fix CVE-2008-4297, upgrade Mercurial to version 1.0.2 or later.
Yes, if hgweb is configured improperly, CVE-2008-4297 can be exploited by an attacker with remote access.