{"id":"DEBIAN-CVE-2023-5752","details":"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.","modified":"2026-09-15T09:02:57.997204654Z","published":"2023-10-25T18:17:44.867Z","upstream":["CVE-2023-5752"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2023-5752"}],"affected":[{"package":{"name":"python-pip","ecosystem":"Debian:12","purl":"pkg:deb/debian/python-pip?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["23.0.1+dfsg-1","23.1.2+dfsg-1","23.1.2+dfsg-2","23.2+dfsg-1","23.2.1+dfsg-1","23.3+dfsg-1","24.0+dfsg-1","24.0+dfsg-2","24.1+dfsg-1","24.1.1+dfsg-1","24.2+dfsg-1","24.3.1+dfsg-1","25.0+dfsg-1","25.0.1+dfsg-1","25.1+dfsg-1","25.1.1+dfsg-1","25.2+dfsg-1","25.3+dfsg-1","26.0+dfsg-1","26.0.1+dfsg-1","26.1.1+dfsg-1","26.1.2+dfsg-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-5752.json"}},{"package":{"name":"python-pip","ecosystem":"Debian:13","purl":"pkg:deb/debian/python-pip?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"23.3+dfsg-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-5752.json"}},{"package":{"name":"python-pip","ecosystem":"Debian:14","purl":"pkg:deb/debian/python-pip?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"23.3+dfsg-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-5752.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"}]}