CVE-2021-3426: There's a flaw in Python 3's pydoc. A local or adjacent attacker who discovers or is able to convince another local or adjacent user to start a pydoc server could access the server and use it to disclose sensitive information belonging to the other user that they would not normally be able to access. The highest risk of this flaw is to data confidentiality. This flaw affects Python versions before 3.8.9, Python versions before 3.9.3 and Python versions before 3.10.0a7.
CVE-2021-3426 is a vulnerability in There's a flaw in Python 3's pydoc. A local or adjacent attacker who discovers or is able to convince another local or adjacent user to start a pydoc server could access the server and use it to disclose sensitive information belonging to the other user that they would not normally be able to access. The highest risk of this flaw is to data confidentiality. This flaw affects Python versions before 3.8.9, Python versions before 3.9.3 and Python versions before 3.10.0a7., rated Moderate by Microsoft, with a CVSS 3.1 base score of 5.7 (Medium). An attacker can exploit it from an adjacent network, with low privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 1.86% probability of exploitation activity in the next 30 days, higher than 80% of all scored vulnerabilities. Microsoft released the fix on 20 October 2026, outside Patch Tuesday. It affects 1 product in 1 product family (Open Source Software).
Key facts
- CVE ID
- CVE-2021-3426
- Severity
- Medium CVSS 5.7
- Microsoft severity
- Moderate
- Exploited in the wild
- No
- Publicly disclosed
- No
- Weakness
- CWE-200; CWE-22
- EPSS
- 1.86% (percentile 80%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- May 2021 Patch Tuesday
- Product families
- Open Source Software
CVSS score and vector
Microsoft scores CVE-2021-3426 at 5.7 (temporal 5.7) using CVSS 3.1. Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
| Metric | Value |
|---|---|
| Attack vector | Adjacent network |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | High |
| Integrity impact | None |
| Availability impact | None |
Affected products (1)
Open Source Software
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| azl4 python-py 1.11.0-22.azl4 on Azure Linux 4.0 | Release Notes | Security Update |
NIST NVD data
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| python | before 2.7.18 |
| python | from 3.6.0, before 3.6.13 |
| python | from 3.7.0, before 3.7.10 |
| python | from 3.8.0, before 3.8.8 |
| python | from 3.9.0, before 3.9.3 |
| python 3.10.0 | all listed versions |
| python 3.10.0 | all listed versions |
| python 3.10.0 | all listed versions |
| python 3.10.0 | all listed versions |
| python 3.10.0 | all listed versions |
| python 3.10.0 | all listed versions |
| fedora 32 | all listed versions |
| fedora 33 | all listed versions |
| fedora 34 | all listed versions |
| debian linux 9.0 | all listed versions |
| software collections | all listed versions |
| enterprise linux 8.0 | all listed versions |
| cloud backup | all listed versions |
| ontap select deploy administration utility | all listed versions |
| snapcenter | all listed versions |
| communications cloud native core binding support function 1.10.0 | all listed versions |
| zfs storage appliance kit 8.8 | all listed versions |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1935913 (Issue Tracking, Patch, Third Party Advisory)
- https://lists.debian.org/debian-lts-announce/2021/04/msg00005.html (Mailing List, Third Party Advisory)
- https://lists.debian.org/debian-lts-announce/2023/06/msg00039.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/25HVHLBGO2KNPXJ3G426QEYSSCECJDU5/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BF2K7HEWADHN6P52R3QLIOX27U3DJ4HI/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DQYPUKLLBOZMKFPO7RD7CENTXHUUEUV7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LM5V4VPLBHBEASSAROYPSHXGXGGPHNOE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N6VXJZSZ6N64AILJX4CTMACYGQGHHD5C/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QNGAFMPIYIVJ47FCF2NK2PIX22HUG35B/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPX7Y5GQDNB4FJTREWONGC4ZSVH7TGHF/
- https://security.gentoo.org/glsa/202104-04 (Third Party Advisory)
- https://security.netapp.com/advisory/ntap-20210629-0003/ (Third Party Advisory)
- https://www.oracle.com/security-alerts/cpujan2022.html (Patch, Third Party Advisory)
- https://www.oracle.com/security-alerts/cpuoct2021.html (Patch, Third Party Advisory)
- https://bugzilla.redhat.com/show_bug.cgi?id=1935913 (Issue Tracking, Patch, Third Party Advisory)
- https://lists.debian.org/debian-lts-announce/2021/04/msg00005.html (Mailing List, Third Party Advisory)
- https://lists.debian.org/debian-lts-announce/2023/06/msg00039.html
- https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/25HVHLBGO2KNPXJ3G426QEYSSCECJDU5/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BF2K7HEWADHN6P52R3QLIOX27U3DJ4HI/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DQYPUKLLBOZMKFPO7RD7CENTXHUUEUV7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LM5V4VPLBHBEASSAROYPSHXGXGGPHNOE/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N6VXJZSZ6N64AILJX4CTMACYGQGHHD5C/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QNGAFMPIYIVJ47FCF2NK2PIX22HUG35B/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPX7Y5GQDNB4FJTREWONGC4ZSVH7TGHF/
- https://security.gentoo.org/glsa/202104-04 (Third Party Advisory)
- https://security.netapp.com/advisory/ntap-20210629-0003/ (Third Party Advisory)
- https://www.oracle.com/security-alerts/cpujan2022.html (Patch, Third Party Advisory)
- https://www.oracle.com/security-alerts/cpuoct2021.html (Patch, Third Party Advisory)
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. | |
| 2.0 | Information published. | |
| 3.0 | Information published. |