CWE
77
EPSS
0.043%
Advisory Published
Advisory Published
Updated

CVE-2023-5752: Mercurial configuration injectable in repo revision when installing via pip

First published: Tue Oct 24 2023(Updated: )

Python Packaging Authority pip could allow a local authenticated attacker to bypass security restrictions, caused by a flaw when installing a package from a Mercurial VCS URL. By sending a specially-crafted request, an attacker could exploit this vulnerability to inject arbitrary configuration options to the "hg clone" call to modify how and which repository is installed.

Credit: cna@python.org cna@python.org

Affected SoftwareAffected VersionHow to fix
pip/pip<23.3
23.3
redhat/pip<23.3
23.3
IBM Security Verify Access<=10.0.0 - 10.0.7.1
pypa pip<23.3

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.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2023-5752?

    CVE-2023-5752 is a vulnerability in the pip package manager that allows an attacker to inject arbitrary configuration options during package installation.

  • How does CVE-2023-5752 impact users?

    CVE-2023-5752 can be exploited by an attacker to modify the Mercurial configuration during package installation, potentially compromising the integrity and security of the system.

  • What is the severity of CVE-2023-5752?

    The severity of CVE-2023-5752 is medium, with a severity value of 5.5.

  • How can I fix CVE-2023-5752?

    To fix CVE-2023-5752, users should update their pip package manager to version 23.3 or higher.

  • Where can I find more information about CVE-2023-5752?

    You can find more information about CVE-2023-5752 on the GitHub pull request, the Python security-announce mailing list, and the NIST National Vulnerability Database.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203