{"id":"MGASA-2021-0054","summary":"Updated python-pip packages fix security vulnerabilities","details":"It was discovered that pip did not properly sanitize the filename during pip\ninstall. A remote attacker could possible use this issue to read and write\narbitrary files on the host filesystem as root, resulting in a directory\ntraversal attack (CVE-2019-20916).\n\nurllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP\nrequest method, as demonstrated by inserting CR and LF control characters in\nthe first argument of putrequest(). The python-pip package bundles a copy of\npython-urllib3, which was affected by this issue.  The bundled copy was\npatched to fix the issue (CVE-2020-26137).\n","modified":"2026-02-04T03:15:26.349100Z","published":"2021-01-25T15:25:52Z","related":["CVE-2019-20916","CVE-2020-26137"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2021-0054.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=27301"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=27407"},{"type":"REPORT","url":"https://ubuntu.com/security/notices/USN-4601-1"},{"type":"REPORT","url":"https://ubuntu.com/security/notices/USN-4570-1"}],"affected":[{"package":{"name":"python-pip","ecosystem":"Mageia:7","purl":"pkg:rpm/mageia/python-pip?arch=source&distro=mageia-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"19.0.3-1.3.mga7"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2021-0054.json"}}],"schema_version":"1.7.3","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}