QID 995818

Date Published: 2023-11-06

QID 995818: Python (Pip) Security Update for pip (GHSA-mq26-g339-26xf)

When installing a package from a Mercurial VCS URL, e.g. 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 (e.g. --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.

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

  • CVSS V3 rated as Medium - 3.3 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Refer to Github security advisory GHSA-mq26-g339-26xf for updates and patch information.
    Vendor References

    CVEs related to QID 995818

    Software Advisories
    Advisory ID Software Component Link
    GHSA-mq26-g339-26xf pip URL Logo github.com/advisories/GHSA-mq26-g339-26xf