CVE-2021-3426
Reported by redhat · Published May 20, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python | Bitnami | 3.9.3, 3.8.8, 3.7.10, 3.6.13, 2.7.18 |
| python3 | Alpine | 3.9.4-r0 |
| python3.7 | Ubuntu:Pro:18.04:LTS | 3.7.5-2ubuntu1~18.04.2+esm1 |
| libpython | Bitnami | 3.9.3, 3.8.8, 3.7.10, 3.6.13, 2.7.18 |
| python-min | Bitnami | 3.9.3, 3.8.8, 3.7.10, 3.6.13, 2.7.18 |
| python3.4 | Ubuntu:Pro:14.04:LTS | 3.4.3-1ubuntu1~14.04.7+esm12 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| debian/python-3.12 | debian | 3.10.0-alpha7, 3.9.3, 3.8.9, 3.7.11, 3.6.14 |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| debian/python-3.10 | debian | 3.10.0-alpha7, 3.9.3, 3.8.9, 3.7.11, 3.6.14 |
| python3.5 | Ubuntu:Pro:16.04:LTS | 3.5.2-2ubuntu0~16.04.13+esm2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | python | python 3.8.9, python 3.9.3, python 3.10.0a7 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| alpine | python3 | 0 |
| n/a | python | python 3.8.9, python 3.9.3, python 3.10.0a7 |
| amazon:2 | python3-tools | 0 |
| amazon:2 | python3 | 0 |
| amazon:2 | python3-debug | 0 |
| arch | python | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| amazon:2 | python3-libs | 0 |
| amazon:2 | python3-test | 0 |
| amazon:2 | python3-tkinter | 0 |
| amazon:2 | python3-devel | 0 |
Timeline
- Apr 6, 2021 CVE Published
- May 21, 2021 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Mar 7, 2026 Distribution Patch (9 in total, the first dated here)
- Mar 7, 2026 Security Advisory (13 in total, the first dated here)
- Jul 30, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3426
vulnetix vdb fixes CVE-2021-3426
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3426/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20210405 [SECURITY] [DLA 2619-1] python3.5 security update mailing-list
- FEDORA-2021-a311bf10d4 vendor-advisory
- FEDORA-2021-2ab6f060d9 vendor-advisory
- FEDORA-2021-1769a23935 vendor-advisory
- FEDORA-2021-b6b6093b3a vendor-advisory
- FEDORA-2021-067c9deff1 vendor-advisory
- FEDORA-2021-0a8f3ffbc0 vendor-advisory
- FEDORA-2021-a26257ccf5 vendor-advisory
- GLSA-202104-04 vendor-advisory
- [debian-lts-announce] 20230630 [SECURITY] [DLA 3477-1] python3.7 security update mailing-list
- https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html url
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url