CVE-2021-3572
Published: 10 November 2021
A flaw was found in python-pip in the way it handled Unicode separators in git references. A remote attacker could possibly use this issue to install a different revision on a repository. The highest threat from this vulnerability is to data integrity. This is fixed in python-pip version 21.1.
Notes
Author | Note |
---|---|
sbeattie | pip < 10, i.e. pip in bionic and older, parses git references differently, requiring a more significant backport |
Priority
Status
Package | Release | Status |
---|---|---|
python-pip Launchpad, Ubuntu, Debian |
bionic |
Released
(9.0.1-2.3~ubuntu1.18.04.8+esm1)
Available with Ubuntu Pro |
focal |
Not vulnerable
(20.0.2-5ubuntu1.5)
|
|
groovy |
Ignored
(end of life)
|
|
hirsute |
Ignored
(end of life)
|
|
impish |
Not vulnerable
(20.3.4-4)
|
|
jammy |
Not vulnerable
(20.3.4-4)
|
|
kinetic |
Not vulnerable
(20.3.4-4)
|
|
lunar |
Not vulnerable
(20.3.4-4)
|
|
trusty |
Released
(8.1.1-2ubuntu0.6+esm2)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
upstream |
Released
(20.3.4-2)
|
|
xenial |
Released
(8.1.1-2ubuntu0.6+esm2)
Available with Ubuntu Pro |
|
Patches: upstream: https://github.com/pypa/pip/commit/ca832b2836e0bffa7cf95589acdcd71230f5834e |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.7 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | Low |
User interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | High |
Availability impact | None |
Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
References
- https://github.com/pypa/pip/pull/9827
- https://github.com/pypa/pip/issues/10042
- https://github.com/pypa/pip/issues/10042#issuecomment-857452480
- https://github.com/skazi0/CVE-2021-3572/blob/master/CVE-2021-3572-v9.0.1.patch
- https://ubuntu.com/security/notices/USN-4961-2
- https://www.cve.org/CVERecord?id=CVE-2021-3572
- NVD
- Launchpad
- Debian