QID 356910

Date Published: 2024-01-16

QID 356910: Amazon Linux Security Advisory for python-pip : ALAS2023-2023-442

When installing a package from a mercurial vcs url (ie "pip install hg+...") with pip prior to v23.3, the specified mercurial revision could be used to inject arbitrary configuration options to the "hg clone" call (ie "--config").
Controlling the mercurial configuration can modify how and which repository is installed.
This vulnerability does not affect users who aren't installing from mercurial. (
( CVE-2023-5752)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Medium - 3.3 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-442 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356910

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-442 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-442.html