GLSA-201701-18 : Python: Multiple vulnerabilities

Critical Nessus Plugin ID 96399

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-201701-18 (Python: Multiple vulnerabilities)

Multiple vulnerabilities have been discovered in Python. Please review the CVE identifiers referenced below for details.
Impact :

A remote attacker could entice a user to open a specially crafted index file using Python’s dumbdbm module, possibly resulting in execution of arbitrary code with the privileges of the process.
A remote attacker could entice a user to process a specially crafted input stream using Python’s zipimporter module, possibly allowing attackers to cause unspecified impact.
A man in the middle attacker could strip out the STARTTLS command without generating an exception on the Python SMTP client application, preventing the establishment of the TLS layer.
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.12:2.7' All Python 3 users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-lang/python-3.4.5:3.4'

See Also

https://security.gentoo.org/glsa/201701-18

Plugin Details

Severity: Critical

ID: 96399

File Name: gentoo_GLSA-201701-18.nasl

Version: 3.3

Type: local

Published: 2017/01/11

Updated: 2019/04/10

Dependencies: 12634

Risk Information

Risk Factor: Critical

CVSS v2.0

Base Score: 10

Temporal Score: 7.8

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

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

CVSS v3.0

Base Score: 9.8

Temporal Score: 8.8

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:P/RL:O/RC:C

Vulnerability Information

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2017/01/10

Reference Information

CVE: CVE-2016-0772, CVE-2016-5636

GLSA: 201701-18