GLSA-201805-02 : Python: Buffer overflow

critical Nessus Plugin ID 109534

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-201805-02 (Python: Buffer overflow)

A buffer overflow was discovered in Python’s PyString_DecodeEscape function in stringobject.c.
Impact :

Remote attackers, by enticing a user to process a specially crafted file, could execute arbitrary code.
Workaround :

There is no known workaround at this time.

Solution

All Python 2 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-lang/python-2.7.14:2.7'

See Also

https://security.gentoo.org/glsa/201805-02

Plugin Details

Severity: Critical

ID: 109534

File Name: gentoo_GLSA-201805-02.nasl

Version: 1.3

Type: local

Published: 5/3/2018

Updated: 10/15/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2017-1000158

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:gentoo:linux, p-cpe:/a:gentoo:linux:python

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 5/2/2018

Reference Information

CVE: CVE-2017-1000158

GLSA: 201805-02