CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Python

CVE-2021-3177
Python vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Python, Fedora, Active Iq Unified Manager, Ontap Select Deploy Administration Utility, Debian Linux, Communications Cloud Native Core Network Function Cloud Native Environment, Communications Offline Mediation Controller, Communications Pricing Design Center, Enterprise Manager Ops Center, Zfs Storage Appliance Kit and more. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Python runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Python products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.