CVE-2021-3426

Summary

CVECVE-2021-3426
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-05-20 13:15:07 UTC
Updated2026-10-14 10:17:41 UTC
DescriptionThere'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.

Risk And Classification

Primary CVSS: v3.1 5.7 MEDIUM from [email protected]

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

Problem Types: CWE-200 | CWE-22 | CWE-200 CWE-200


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.7MEDIUMCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
3.1ADPDECLARED5.7MEDIUMCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary5.7MEDIUMCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
2.0[email protected]Primary2.7AV:A/AC:L/Au:S/C:P/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

CVSS v2.0 Breakdown

Access Vector
Adjacent
Access Complexity
Low
Authentication
Single
Confidentiality
Partial
Integrity
None
Availability
None

AV:A/AC:L/Au:S/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Python Python All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na Python affected python 3.8.9, python 3.9.3, python 3.10.0a7 Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified

References

ReferenceSourceLinkTags
cert-portal.siemens.com/productcert/html/ssa-398330.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
CVE-2021-3426 Python Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
[SECURITY] Fedora 34 Update: python3.9-3.9.4-1.fc34 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Oracle Critical Patch Update Advisory - October 2021 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
[SECURITY] Fedora 34 Update: python3.8-3.8.9-1.fc34 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
lists.debian.org/debian-lts-announce/2024/12/msg00000.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
[SECURITY] [DLA 3477-1] python3.7 security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
1935913 – (CVE-2021-3426) CVE-2021-3426 python: information disclosure via pydoc af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
[SECURITY] Fedora 33 Update: python3-docs-3.9.4-1.fc33 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 32 Update: python3-3.8.9-1.fc32 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Oracle Critical Patch Update Advisory - January 2022 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
[SECURITY] Fedora 32 Update: python39-3.9.4-1.fc32 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 32 Update: mingw-python3-3.8.9-1.fc32 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 33 Update: python3.8-3.8.9-1.fc33 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Python: Multiple vulnerabilities (GLSA 202104-04) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
[SECURITY] [DLA 2619-1] python3.5 security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
[SECURITY] Fedora 33 Update: python3-docs-3.9.4-1.fc33 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 34 Update: python3.9-3.9.4-1.fc34 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 32 Update: mingw-python3-3.8.9-1.fc32 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 33 Update: python3.8-3.8.9-1.fc33 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 34 Update: python3.8-3.8.9-1.fc34 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 32 Update: python39-3.9.4-1.fc32 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 32 Update: python3-3.8.9-1.fc32 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159466 Oracle Enterprise Linux Security Update for python39:3.9 and python39-devel:3.9 (ELSA-2021-4160)
  • 159467 Oracle Enterprise Linux Security Update for python38:3.8 and python38-devel:3.8 (ELSA-2021-4162)
  • 159507 Oracle Enterprise Linux Security Update for python3 (ELSA-2021-4399)
  • 159563 Oracle Enterprise Linux Security Update for python3 (ELSA-2021-9562)
  • 174989 SUSE Enterprise Linux Security Update for python36 (SUSE-SU-2021:1490-1)
  • 174992 SUSE Enterprise Linux Security Update for python3 (SUSE-SU-2021:1557-1)
  • 178536 Debian Security Update for python3.5 (DLA 2619-1)
  • 180426 Debian Security Update for pypy3 (CVE-2021-3426)
  • 198714 Ubuntu Security Notification for Python Vulnerabilities (USN-5342-1)
  • 239580 Red Hat Update for rh-python38 (RHSA-2021:3254)
  • 239820 Red Hat Update for python3 (RHSA-2021:4399)
  • 239841 Red Hat Update for python39:3.9 and python39-devel:3.9 (RHSA-2021:4160)
  • 239845 Red Hat Update for python38:3.8 and python38-devel:3.8 (RHSA-2021:4162)
  • 281328 Fedora Security Update for mingw (FEDORA-2021-1769a23935)
  • 281354 Fedora Security Update for python39 (FEDORA-2021-a311bf10d4)
  • 281358 Fedora Security Update for python3 (FEDORA-2021-b6b6093b3a)
  • 281359 Fedora Security Update for python3.8 (FEDORA-2021-a26257ccf5)
  • 281360 Fedora Security Update for python3.8 (FEDORA-2021-2ab6f060d9)
  • 281361 Fedora Security Update for python3 (FEDORA-2021-0a8f3ffbc0)
  • 281362 Fedora Security Update for python3 (FEDORA-2021-067c9deff1)
  • 296059 Oracle Solaris 11.4 Support Repository Update (SRU) 36.0.1.101.2 Missing (CPUJUL2021)
  • 352278 Amazon Linux Security Update for python35: ALAS-2021-1498
  • 352305 Amazon Linux Security Advisory for python36: ALAS-2021-1500
  • 352365 Amazon Linux Security Advisory for python34: ALAS-2021-1504
  • 352371 Amazon Linux Security Advisory for python3: ALAS2-2021-1640
  • 502020 Alpine Linux Security Update for python3
  • 504346 Alpine Linux Security Update for python3
  • 6000019 Debian Security Update for python3.7 (DLA 3477-1)
  • 670829 EulerOS Security Update for python3 (EulerOS-SA-2021-2718)
  • 670940 EulerOS Security Update for python3 (EulerOS-SA-2021-2693)
  • 671010 EulerOS Security Update for python3 (EulerOS-SA-2021-2640)
  • 690176 Free Berkeley Software Distribution (FreeBSD) Security Update for python (f671c282-95ef-11eb-9c34-080027f515ea)
  • 710014 Gentoo Linux Python Multiple Vulnerabilities (GLSA 202104-04)
  • 751261 SUSE Enterprise Linux Security Update for python36 (SUSE-SU-2021:3486-1)
  • 751494 OpenSUSE Security Update for python3 (openSUSE-SU-2021:4104-1)
  • 751548 SUSE Enterprise Linux Security Update for python3 (SUSE-SU-2021:4015-2)
  • 940028 AlmaLinux Security Update for python3 (ALSA-2021:4399)
  • 940526 AlmaLinux Security Update for python38:3.8 and python38-devel:3.8 (ALSA-2021:4162)
  • 940559 AlmaLinux Security Update for python39:3.9 and python39-devel:3.9 (ALSA-2021:4160)
  • 960239 Rocky Linux Security Update for python39:3.9 and python39-devel:3.9 (RLSA-2021:4160)
  • 960342 Rocky Linux Security Update for python38:3.8 and python38-devel:3.8 (RLSA-2021:4162)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report