CRITICAL SEVERITY

CVE-2021-3177

Python vulnerability

CVSS
9.8
EPSS
18.9%
EPSS pct
97th
Exploited
No known
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.
Affected vendor
Python
Affected product
Python
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness type (CWE)
  • CWE-120 — Classic Buffer Overflow
Published
2021-01-19

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to confidentiality, high impact to integrity, high impact to availability.

Its EPSS score of 18.9% reflects a moderate probability of exploitation activity in the wild over the next 30 days, placing it above 97% of all scored CVEs.

Check your external exposure to CVE-2021-3177

  • Confirm whether Python Python is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2021-3177.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2021-3177

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2021-3177 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2021-3177?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2021-3177.

Start free scan

No credit card. Agentless.