CVE-2021-3572: Input Validation

Published Apr 24, 2021
·
Updated

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.

Other sources

It was discovered that pip incorrectly handled unicode separators in git references. A remote attacker could possibly use this issue to install a different revision on a repository.

References:

https://packetstormsecurity.com/files/162712/USN-4961-1.txt

Red Hat

pip package for python could allow a remote authenticated attacker to bypass security restrictions, caused by the improper handling of Unicode separators in git references. By creating a specially crafted tag, an attacker could exploit this vulnerability to install a different revision on a repository.

IBM

Affected Software

17 affected componentsFixes available
redhat/python-pip<0:9.0.3-20.el8
0:9.0.3-20.el8
redhat/rh-python38-babel<0:2.7.0-12.el7
0:2.7.0-12.el7
redhat/rh-python38-python<0:3.8.11-2.el7
0:3.8.11-2.el7
redhat/rh-python38-python-cryptography<0:2.8-5.el7
0:2.8-5.el7
redhat/rh-python38-python-jinja2<0:2.10.3-6.el7
0:2.10.3-6.el7
redhat/rh-python38-python-lxml<0:4.4.1-7.el7
0:4.4.1-7.el7
redhat/rh-python38-python-pip<0:19.3.1-2.el7
0:19.3.1-2.el7
redhat/rh-python38-python-urllib3<0:1.25.7-7.el7
0:1.25.7-7.el7
redhat/python-pip<21.1
21.1
pip/pip<21.1
21.1
pypa pip<21.1
Oracle Agile PLM=9.3.6
Oracle Communications Cloud Native Core Network Function Cloud Native Environment=1.10.0
Oracle Communications Cloud Native Core Network Function Cloud Native Environment=22.1.0
Oracle Communications Cloud Native Core Policy=1.15.0
Oracle Communications Cloud Native Core Policy=22.1.3
Oracle Agile Product Lifecycle Management=9.3.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/python-pip to a version that resolves this vulnerability.

    Fixed in 0:9.0.3-20.el8
  2. Upgrade

    Upgrade redhat/rh-python38-babel to a version that resolves this vulnerability.

    Fixed in 0:2.7.0-12.el7
  3. Upgrade

    Upgrade redhat/rh-python38-python to a version that resolves this vulnerability.

    Fixed in 0:3.8.11-2.el7
  4. Upgrade

    Upgrade redhat/rh-python38-python-cryptography to a version that resolves this vulnerability.

    Fixed in 0:2.8-5.el7
  5. Upgrade

    Upgrade redhat/rh-python38-python-jinja2 to a version that resolves this vulnerability.

    Fixed in 0:2.10.3-6.el7
  6. Upgrade

    Upgrade redhat/rh-python38-python-lxml to a version that resolves this vulnerability.

    Fixed in 0:4.4.1-7.el7
  7. Upgrade

    Upgrade redhat/rh-python38-python-pip to a version that resolves this vulnerability.

    Fixed in 0:19.3.1-2.el7
  8. Upgrade

    Upgrade redhat/rh-python38-python-urllib3 to a version that resolves this vulnerability.

    Fixed in 0:1.25.7-7.el7
  9. Upgrade

    Upgrade redhat/python-pip to a version that resolves this vulnerability.

    Fixed in 21.1
  10. Upgrade

    Upgrade pip/pip to a version that resolves this vulnerability.

    Fixed in 21.1
  11. Upgrade

    Upgrade python-pip to a version that resolves this vulnerability.

    Fixed in 21.1

Event History

Apr 24, 2021
CVE Published
12:00 AM
Nov 10, 2021
CVE Published
via MITRE·05:55 PM
Data Sourced
via MITRE·05:55 PM
DescriptionWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 15, 2021
Advisory Published
via GitHub·05:45 PM
Jul 4, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2021-3572?

CVE-2021-3572 is a vulnerability found in python-pip that allows a remote attacker to install a different revision on a repository.

2

What is the severity of CVE-2021-3572?

CVE-2021-3572 has a severity level of medium.

3

How does CVE-2021-3572 affect data integrity?

CVE-2021-3572 poses a threat to data integrity.

4

How can I fix CVE-2021-3572?

To fix CVE-2021-3572, update python-pip to version 21.1.

5

Where can I find more information about CVE-2021-3572?

You can find more information about CVE-2021-3572 at the following references: [link1](https://packetstormsecurity.com/files/162712/USN-4961-1.txt), [link2](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1962857), [link3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1962858).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203