Rapid7 Vulnerability & Exploit Database

Debian: CVE-2021-3177: python2.7, python3.7, python3.9 -- security update

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Debian: CVE-2021-3177: python2.7, python3.7, python3.9 -- security update

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
01/19/2021
Created
04/07/2021
Added
04/07/2021
Modified
11/04/2022

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)

  • debian-upgrade-python2-7
  • debian-upgrade-python3-7
  • debian-upgrade-python3-9

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

;