WaratekVRT Sign in

CVE-2021-3177 Python

Affected softwarePython
Severity9.8 Critical CVSS 3.1 3 scores
WeaknessCWE-120
Published19 Jan 2021
Updated14 Oct 2026

Description

Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Python applications that accept floating-point numbers as untrusted input, as demonstrated by a 1e300 argument to c_double.from_param. This occurs because sprintf is used unsafely.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: yes, technical impact: total.
  • Indexed PoC none indexed
  • EPSS 24% chance in 30 days A model's forecast, not a report of exploitation. Higher than 98% of all scored CVEs.

Waratek protection

Outside Waratek scope

A Java vulnerability, but not one Waratek protects. It affects only Java on a user's desktop (applets, Web Start, JavaFX, the installer), sits in a product the Waratek agent can't be installed into, or is in a package we don't expect in business applications. The decision below says which.

  • Protection none
  • Action not pursued none
  • Review human Researcher
  • Record active
Decided by Manual classification of this CVE in the legacy dataset
Finding A manual classification set this CVE's status to Outside Waratek scope, but the CVE names a tracked product.

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CISA-ADP Secondary
CVSS 2.0 7.5 none AV:N/AC:L/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2022 ↗ CPU 2022-Q3 Oracle Communications / CNE (Python) (22.2.0)
Oracle Critical Patch Update January 2022 ↗ CPU 2022-Q1 Oracle Enterprise Manager / Networking (Python) (12.4.0.0)
Oracle Critical Patch Update October 2021 ↗ CPU 2021-Q4 Oracle Communications Applications / Pricing (Python) (12.0.0.3.0)
Oracle Critical Patch Update July 2021 ↗ CPU 2021-Q3 Oracle Communications Applications / UDC CORE (Python) (12.0.0.3.0)
Oracle Systems / Operating System Image (8.8)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications CNE (Python) 22.2.0 22.2.0
Oracle Communications Applications Pricing (Python) 12.0.0.3.0 12.0.0.3.0
Oracle Communications Applications UDC CORE (Python) 12.0.0.3.0 12.0.0.3.0
Oracle Enterprise Manager Networking (Python) 12.4.0.0 12.4.0.0
Oracle Systems Operating System Image 8.8 8.8

Products and versions

10 products, 14 version entries
SourceVendorProductSchemeAffected versions
nvd debian debian linux generic 9.0
nvd fedoraproject fedora generic 32 · 33
nvd netapp active iq unified manager generic any version
nvd netapp ontap select deploy administration utility generic any version
nvd oracle communications cloud native core network function cloud native environment generic 22.2.0
nvd oracle communications offline mediation controller generic 12.0.0.3.0
nvd oracle communications pricing design center generic 12.0.0.3.0
nvd oracle enterprise manager ops center generic 12.4.0.0
nvd oracle zfs storage appliance kit generic 8.8
nvd python python generic ≥ 3.6.0 and ≤ 3.6.12 · ≥ 3.7.0 and ≤ 3.7.9 · ≥ 3.8.0 and ≤ 3.8.7 · ≥ 3.9.0 and ≤ 3.9.1

Earlier manual review

A reviewer classified this CVE in an older dataset. We kept the labels and products below, but not the reviewer's reasoning.

## Manual Classification Context **Labels:** HTTP, UDC CORE (PYTHON), MULTIPLE, NO AUTH REMOTE EXPLOIT, OPERATING SYSTEM IMAGE, PRICING (PYTHON), NETWORKING (PYTHON) **Products:** ORACLE SYSTEMS, ORACLE ZFS STORAGE APPLIANCE KIT, ORACLE COMMUNICATIONS APPLICATIONS, ORACLE COMMUNICATIONS OFFLINE MEDIATION CONTROLLER, ORACLE COMMUNICATIONS PRICING DESIGN CENTER, ORACLE ENTERPRISE MANAGER, ENTERPRISE MANAGER OPS CENTER

References

URLTags
https://bugs.python.org/issue42938 Exploit, Issue Tracking, Patch, Vendor Advisory
https://github.com/python/cpython/pull/24239 Patch, Third Party Advisory
https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
https://lists.debian.org/debian-lts-announce/2021/04/msg00005.html Mailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/02/msg00013.html Mailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BRHOCQYX3QLDGDQGTWQAUUT2GGIZCZUO/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CCFZMVRQUKCBQIG5F2CBVADK63NFSE4A/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FONHJIOZOFD7CD35KZL6SVBUTMBPGZGA/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FPE7SMXYUIWPOIZV4DQYXODRXMFX3C5E/

Timeline

Published2021-01-19By the CVE Program.
NVD record modified2026-10-14NVD's own last-modified date for this record.