CWE
264
Advisory Published
Updated

CVE-2008-4297

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 SoftwareAffected VersionHow to fix
Mercurial<=1.0.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2008-4297?

    CVE-2008-4297 is classified as a medium-severity vulnerability.

  • How does CVE-2008-4297 affect the Mercurial software?

    CVE-2008-4297 allows remote attackers to read arbitrary files from a Mercurial repository due to improper enforcement of the allowpull permission setting.

  • What versions of Mercurial are affected by CVE-2008-4297?

    CVE-2008-4297 affects Mercurial versions prior to 1.0.2.

  • How do I fix CVE-2008-4297?

    To fix CVE-2008-4297, upgrade Mercurial to version 1.0.2 or later.

  • Can I exploit CVE-2008-4297 if I have access to hgweb?

    Yes, if hgweb is configured improperly, CVE-2008-4297 can be exploited by an attacker with remote access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203