The Vigil@nce team watches public vulnerabilities impacting your computers, and then offers security solutions, a vigilance database and tools to fix them.

Vulnerability of Python: buffer overflow via ctypes PyCArg_repr

Synthesis of the vulnerability 

An attacker can trigger a buffer overflow via ctypes PyCArg_repr() of Python, in order to trigger a denial of service, and possibly to run code.
Vulnerable software: Debian, Fedora, openSUSE Leap, Solaris, Python, SUSE Linux Enterprise Desktop, SLES, Ubuntu.
Severity of this announce: 2/4.
Creation date: 19/01/2021.
Références of this computer vulnerability: 42938, CERTFR-2021-AVI-140, CVE-2021-3177, DLA-2619-1, FEDORA-2021-42ba9feb47, FEDORA-2021-851c6e4e2d, FEDORA-2021-ced31f3f0c, FEDORA-2021-d5cde50865, openSUSE-SU-2021:0270-1, openSUSE-SU-2021:0331-1, SUSE-SU-2021:0355-1, SUSE-SU-2021:0428-1, SUSE-SU-2021:0432-1, SUSE-SU-2021:0529-1, USN-4754-1, USN-4754-2, USN-4754-3, USN-4754-4, VIGILANCE-VUL-34369.

Description of the vulnerability 

An attacker can trigger a buffer overflow via ctypes PyCArg_repr() of Python, in order to trigger a denial of service, and possibly to run code.
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

This computer threat announce impacts software or systems such as Debian, Fedora, openSUSE Leap, Solaris, Python, SUSE Linux Enterprise Desktop, SLES, Ubuntu.

Our Vigil@nce team determined that the severity of this computer vulnerability is medium.

The trust level is of type confirmed by the editor, with an origin of document.

An attacker with a expert ability can exploit this cybersecurity alert.

Solutions for this threat 

Python: version 3.9.2.
The version 3.9.2 is fixed:
  https://www.python.org/downloads/

Python: version 3.8.8.
The version 3.8.8 is fixed:
  https://www.python.org/downloads/

Python: version 3.7.10.
The version 3.7.10 is fixed:
  https://www.python.org/downloads/

Python: version 3.6.13.
The version 3.6.13 is fixed:
  https://www.python.org/downloads/

Python: patch for ctypes PyCArg_repr.
A patch is available:
  https://github.com/python/cpython/commit/ece5dfd403dac211f8d3c72701fe7ba7b7aa5b5f

Debian 9: new python3.5 packages.
New packages are available:
  Debian 9: python3.5 3.5.3-1+deb9u4

Fedora 32-33: new mingw-python3 packages.
New packages are available:
  Fedora 32: mingw-python3 3.8.3-8.fc32
  Fedora 33: mingw-python3 3.9.1-2.fc33

Fedora 32: new python3.10 packages.
New packages are available:
  Fedora 32: python3.10 3.10.0~a5-1.fc32

Fedora 33: new python3.10 packages.
New packages are available:
  Fedora 33: python3.10 3.10.0~a5-1.fc33

openSUSE Leap 15.2: new python3 packages (23/02/2021).
New packages are available:
  openSUSE Leap 15.2: python3 3.6.12-lp152.4.17.1

openSUSE Leap 15.2: new python packages (11/02/2021).
New packages are available:
  openSUSE Leap 15.2: python 2.7.17-lp152.3.12.1

Oracle Solaris: patch for third party software of April 2021 v1.
A patch is available:
  https://support.oracle.com/rs?type=doc&id=1448883.1

SUSE LE 12 SP2-5: new python packages.
New packages are available:
  SUSE LE 12 SP2: python 2.7.17-28.64.1
  SUSE LE 12 SP3: python 2.7.17-28.64.1
  SUSE LE 12 SP4: python 2.7.17-28.64.1
  SUSE LE 12 SP5: python 2.7.17-28.64.1

SUSE LE 12 SP5: new python36 packages (11/02/2021).
New packages are available:
  SUSE LE 12 SP5: python36 3.6.12-4.33.3

SUSE LE 15 RTM-SP3: new python packages (09/02/2021).
New packages are available:
  SUSE LE 15 RTM: python 2.7.17-7.52.2
  SUSE LE 15 SP1: python 2.7.17-7.52.2
  SUSE LE 15 SP2: python 2.7.17-7.52.2
  SUSE LE 15 SP3: python 2.7.17-7.52.2

SUSE LE 15 SP2: new python3 packages.
New packages are available:
  SUSE LE 15 SP2: python3 3.6.12-3.75.1

Ubuntu: new python packages.
New packages are available:
  Ubuntu 20.10: python3.8 3.8.6-1ubuntu0.2
  Ubuntu 20.04 LTS: python2.7 2.7.18-1~20.04.1, python3.8 3.8.5-1~20.04.2
  Ubuntu 18.04 LTS: python2.7 2.7.17-1~18.04ubuntu1.6, python3.6 3.6.9-1~18.04ubuntu1.4, python3.7 3.7.5-2~18.04.4, python3.8 3.8.0-3~18.04.1
  Ubuntu 16.04 LTS: python2.7 2.7.12-1ubuntu0~16.04.18, python3.5 3.5.2-2ubuntu0~16.04.13
  Ubuntu 14.04 ESM: python2.7 2.7.6-8ubuntu0.6+esm9, python3.4 3.4.3-1ubuntu1~14.04.7+esm10
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

Computer vulnerabilities tracking service 

Vigil@nce provides a computers vulnerabilities patch. The Vigil@nce computer vulnerability tracking service alerts your teams of vulnerabilities or threats impacting your information system.