Rapid7 Vulnerability & Exploit Database

Ubuntu: (Multiple Advisories) (CVE-2021-3177): Python vulnerabilities

Back to Search

Ubuntu: (Multiple Advisories) (CVE-2021-3177): Python vulnerabilities

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
01/19/2021
Created
03/02/2021
Added
02/26/2021
Modified
06/09/2021

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.

Solution(s)

  • ubuntu-upgrade-2-7-6-8ubuntu0-6-esm9
  • ubuntu-upgrade-available
  • ubuntu-upgrade-desktop
  • ubuntu-upgrade-infra
  • ubuntu-upgrade-python2-7
  • ubuntu-upgrade-python2-7-minimal
  • ubuntu-upgrade-python3-4
  • ubuntu-upgrade-python3-4-minimal
  • ubuntu-upgrade-python3-5
  • ubuntu-upgrade-python3-5-minimal
  • ubuntu-upgrade-python3-6
  • ubuntu-upgrade-python3-6-minimal
  • ubuntu-upgrade-python3-7
  • ubuntu-upgrade-python3-7-minimal
  • ubuntu-upgrade-python3-8
  • ubuntu-upgrade-python3-8-minimal
  • ubuntu-upgrade-ua

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;