CVE & CISA-KEV Catalog

CVE-2021-3426

MEDIUMEPSS 77th pctl
5.7
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
pypy3Debian
Fixed in:7.3.3+dfsg-4CVE-2021-3426
Fixed in:7.3.3+dfsg-4CVE-2021-3426
Fixed in:7.3.3+dfsg-4CVE-2021-3426
Fixed in:7.3.3+dfsg-4CVE-2021-3426
python2.7Ubuntu
Fixed in:2.7.12-1ubuntu0~16.04.18+esm1USN-5342-1
Fixed in:2.7.17-1~18.04ubuntu1.7USN-5342-1
python2.7-minimalUbuntu
Fixed in:2.7.12-1ubuntu0~16.04.18+esm1USN-5342-1
Fixed in:2.7.17-1~18.04ubuntu1.7USN-5342-1
python3.10Ubuntu
Fixed in:3.10.12-1~22.04.4USN-6891-1
python3.10-minimalUbuntu
Fixed in:3.10.12-1~22.04.4USN-6891-1
python3.11Ubuntu
Fixed in:3.11.0~rc1-1~22.04.1~esm1USN-6891-1
Fixed in:3.11.6-3ubuntu0.1USN-6891-1
python3.11-minimalUbuntu
Fixed in:3.11.0~rc1-1~22.04.1~esm1USN-6891-1
Fixed in:3.11.6-3ubuntu0.1USN-6891-1
python3.12Ubuntu
Fixed in:3.12.0-1ubuntu0.1USN-6891-1
python3.12-minimalUbuntu
Fixed in:3.12.0-1ubuntu0.1USN-6891-1
python3.4Ubuntu
Fixed in:3.4.3-1ubuntu1~14.04.7+esm12USN-5342-1
python3.4-minimalUbuntu
Fixed in:3.4.3-1ubuntu1~14.04.7+esm12USN-5342-1
python3.5Ubuntu
Fixed in:3.5.2-2ubuntu0~16.04.4~14.04.1+esm1USN-6891-1
Fixed in:3.5.2-2ubuntu0~16.04.13+esm13USN-6891-1
Fixed in:3.5.2-2ubuntu0~16.04.13+esm2USN-5342-1
python3.5-minimalUbuntu
Fixed in:3.5.2-2ubuntu0~16.04.4~14.04.1+esm1USN-6891-1
Fixed in:3.5.2-2ubuntu0~16.04.13+esm2USN-5342-1
Fixed in:3.5.2-2ubuntu0~16.04.13+esm13USN-6891-1
python3.6Ubuntu
Fixed in:3.6.9-1~18.04ubuntu1.7USN-5342-1
Fixed in:3.6.9-1~18.04ubuntu1.13+esm2USN-6891-1
python3.6-minimalUbuntu
Fixed in:3.6.9-1~18.04ubuntu1.7USN-5342-1
Fixed in:3.6.9-1~18.04ubuntu1.13+esm2USN-6891-1
python3.7Ubuntu
Fixed in:3.7.5-2ubuntu1~18.04.2+esm1USN-5342-3
Fixed in:3.7.5-2ubuntu1~18.04.2+esm3USN-6891-1
python3.7-minimalUbuntu
Fixed in:3.7.5-2ubuntu1~18.04.2+esm1USN-5342-3
Fixed in:3.7.5-2ubuntu1~18.04.2+esm3USN-6891-1
python3.8Ubuntu
Fixed in:3.8.0-3ubuntu1~18.04.2+esm2USN-6891-1
Fixed in:3.8.10-0ubuntu1~20.04.4USN-5342-1
Fixed in:3.8.10-0ubuntu1~20.04.10USN-6891-1
python3.8-minimalUbuntu
Fixed in:3.8.0-3ubuntu1~18.04.2+esm2USN-6891-1
Fixed in:3.8.10-0ubuntu1~20.04.4USN-5342-1
Fixed in:3.8.10-0ubuntu1~20.04.10USN-6891-1
python3.9Ubuntu
Fixed in:3.9.5-3ubuntu0~20.04.1+esm2USN-6891-1
python3.9-minimalUbuntu
Fixed in:3.9.5-3ubuntu0~20.04.1+esm2USN-6891-1
Python 2Windows application
Affected:3.7.0 3.7.10Fixed in:3.7.10Python Software Foundation
Affected:3.8.0 3.8.8Fixed in:3.8.8Python Software Foundation
Affected:2.7.18Fixed in:2.7.18Python Software Foundation
Affected:3.9.0 3.9.3Fixed in:3.9.3Python Software Foundation
Affected:3.6.0 3.6.13Fixed in:3.6.13Python Software Foundation
Python 3.10Windows application
Affected:3.7.0 3.7.10Fixed in:3.7.10Python Software Foundation
Affected:3.8.0 3.8.8Fixed in:3.8.8Python Software Foundation
Affected:2.7.18Fixed in:2.7.18Python Software Foundation
Affected:3.6.0 3.6.13Fixed in:3.6.13Python Software Foundation
Affected:3.9.0 3.9.3Fixed in:3.9.3Python Software Foundation
Python 3.11Windows application
Affected:3.7.0 3.7.10Fixed in:3.7.10Python Software Foundation
Affected:2.7.18Fixed in:2.7.18Python Software Foundation
Affected:3.9.0 3.9.3Fixed in:3.9.3Python Software Foundation
Affected:3.8.0 3.8.8Fixed in:3.8.8Python Software Foundation
Affected:3.6.0 3.6.13Fixed in:3.6.13Python Software Foundation
Python 3.12Windows application
Affected:3.7.0 3.7.10Fixed in:3.7.10Python Software Foundation
Affected:3.9.0 3.9.3Fixed in:3.9.3Python Software Foundation
Affected:3.8.0 3.8.8Fixed in:3.8.8Python Software Foundation
Affected:2.7.18Fixed in:2.7.18Python Software Foundation
Affected:3.6.0 3.6.13Fixed in:3.6.13Python Software Foundation
Python 3.8Windows application
Affected:3.9.0 3.9.3Fixed in:3.9.3Python Software Foundation
Affected:3.8.0 3.8.8Fixed in:3.8.8Python Software Foundation
Affected:3.7.0 3.7.10Fixed in:3.7.10Python Software Foundation
Affected:3.6.0 3.6.13Fixed in:3.6.13Python Software Foundation
Affected:2.7.18Fixed in:2.7.18Python Software Foundation
Python 3.9Windows application
Affected:3.8.0 3.8.8Fixed in:3.8.8Python Software Foundation
Affected:3.9.0 3.9.3Fixed in:3.9.3Python Software Foundation
Affected:2.7.18Fixed in:2.7.18Python Software Foundation
Affected:3.7.0 3.7.10Fixed in:3.7.10Python Software Foundation
Affected:3.6.0 3.6.13Fixed in:3.6.13Python Software Foundation

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorAdjacent
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

1.86%probability of exploitation in 30 days
77thpercentile

Elevated risk: more likely to be exploited than 77% of all known CVEs.

References

Related Vulnerabilities

Other CWE-200 (Information Exposure) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-24919High8.6100%KEV + Ransom-
CVE-2020-14181Medium5.3100%-Fix
CVE-2021-34429Medium5.399%-Fix
CVE-2018-11409Medium5.398%--
CVE-2021-41277Critical10.097%KEV-
CVE-2016-2183High7.596%-Fix
Embed a live status badge for CVE-2021-3426
CVE-2021-3426 severity badge

Markdown

[![CVE-2021-3426](https://tridentstack.com/cve/badge/CVE-2021-3426.svg)](https://tridentstack.com/cve/CVE-2021-3426)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-3426"><img src="https://tridentstack.com/cve/badge/CVE-2021-3426.svg" alt="CVE-2021-3426"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-12-18.