Python ~/.pypirc creation vulnerability
Multiple products
At a glance
Python 2.6 through 3.2 creates ~/.pypirc with world-readable permissions before changing them after data has been written, which introduces a race condition that allows local users to obtain a username and password by reading this file.
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 0.429%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:python | python | Affected versions:2.6.1Show full version range for python2.6.22.6.21502.6.32.6.42.6.52.6.62.6.61502.6.72.6.82.7.12.7.11502.7.22.7.21502.7.33.03.0.13.13.1.13.1.23.1.21503.1.33.1.43.1.53.2 |
| Vendor:oraclelinux | pythonEnvironments (1)
| Affected versions: < 0:2.4.3-46.el5_8.2 |
| Vendor:oraclelinux | python-develEnvironments (1)
| Affected versions: < 0:2.4.3-46.el5_8.2 |
| Vendor:oraclelinux | python-libsEnvironments (1)
| Affected versions: < 0:2.4.3-46.el5_8.2 |
| Vendor:oraclelinux | python-toolsEnvironments (1)
| Affected versions: < 0:2.4.3-46.el5_8.2 |
| Vendor:oraclelinux | tkinterEnvironments (1)
| Affected versions: < 0:2.4.3-46.el5_8.2 |
| Vendor:oraclelinux | pythonEnvironments (1)
| Affected versions: < 0:2.6.6-29.el6_2.2 |
| Vendor:oraclelinux | python-develEnvironments (1)
| Affected versions: < 0:2.6.6-29.el6_2.2 |
| Vendor:oraclelinux | python-libsEnvironments (1)
| Affected versions: < 0:2.6.6-29.el6_2.2 |
| Vendor:oraclelinux | python-testEnvironments (1)
| Affected versions: < 0:2.6.6-29.el6_2.2 |
1–10 of 190 · Page 1 of 19
CVSS scores and metrics8
SUSE · SUSE VEX (adp)Primary3.3 / 10LowCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:Nsuse · Wazuh CTI (adp)3.3 / 10LowCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N[email protected] · NVD (Primary)1.9 / 10LowCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:M/Au:N/C:P/I:N/A:Noraclelinux · Wazuh CTI (adp)1.9 / 10LowCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:M/Au:N/C:P/I:N/A:Nredhat · Wazuh CTI (adp)1.2 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:H/Au:N/C:P/I:N/A:Nalas · Wazuh CTI (adp)1.2 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:H/Au:N/C:P/I:N/A:Nnvd · Wazuh CTI (cna)1.9 / 10LowCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:M/Au:N/C:P/I:N/A:NRed Hat · Red Hat VEX (adp)1.2 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:H/Au:N/C:P/I:N/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories61
- cve.org
- NVD
- Wazuh CTI
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- openwall.com
- openwall.com
- lists.apple.com
- lists.opensuse.org
- openwall.com
- secunia.com
- ubuntu.com
- ubuntu.com
- secunia.com
- ubuntu.com
- bugzilla.redhat.com
- bugs.python.org
- bugs.python.org
- ubuntu.com
- secunia.com
- secunia.com
- secunia.com
- ubuntu.com
- ubuntu.com
- bugs.debian.org
- SUSE-CU-2020:166-1
- unknown
- openSUSE-SU-2020:0086-1
- openSUSE-SU-2020:0086-1
- SUSE-SU-2020:0234-1
- SUSE-SU-2020:0114-1
- SUSE-SU-2012:0642-1
- SUSE-IU-2021:605-1
- SUSE-CU-2021:232-1
- SUSE-CU-2020:93-1
- SUSE-CU-2020:773-1
- SUSE-CU-2020:544-1
- SUSE-CU-2020:38-1
- SUSE-CU-2020:34-1
- SUSE-CU-2020:32-1
- SUSE-CU-2020:221-1
- SUSE-CU-2020:218-1
- access.redhat.com
- SUSE-CU-2020:215-1
- SUSE-CU-2020:209-1
- SUSE CVE-2011-4944
- linux.oracle.com
- access.redhat.com
- access.redhat.com
- Mitre CVE-2011-4944
- SUSE-FU-2022:0444-1
- SUSE-FU-2022:0445-1
- SUSE-FU-2022:0447-1
- SUSE-FU-2022:0450-1
- SUSE-FU-2022:0452-1
- SUSE-FU-2022:0454-1
- SUSE-FU-2022:0456-1
- unknown
- openSUSE-SU-2012:0667-1
- cve.mitre.org
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences