Ubuntu 14.04 LTS / 16.04 LTS : Python Crypto regression (USN-3199-2)

critical Nessus Plugin ID 97301

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 14.04 LTS / 16.04 LTS host has packages installed that are affected by a vulnerability as referenced in the USN-3199-2 advisory.

USN-3199-1 fixed a vulnerability in the Python Cryptography Toolkit. Unfortunately, various programs depended on the original behavior of the Python Cryptography Toolkit which was altered when fixing the vulnerability. This update retains the fix for the vulnerability but issues a warning rather than throwing an exception. Code which produces this warning should be updated because future versions of the Python Cryptography Toolkit re-introduce the exception.

We apologize for the inconvenience.

Original advisory details:

It was discovered that the ALGnew function in block_template.c in the Python

Cryptography Toolkit contained a heap-based buffer overflow vulnerability.

A remote attacker could use this flaw to execute arbitrary code by using

a crafted initialization vector parameter.

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected python-crypto and / or python3-crypto packages.

See Also

https://ubuntu.com/security/notices/USN-3199-2

Plugin Details

Severity: Critical

ID: 97301

File Name: ubuntu_USN-3199-2.nasl

Version: 3.10

Type: local

Agent: unix

Published: 2/21/2017

Updated: 8/27/2024

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2013-7459

CVSS v3

Risk Factor: Critical

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: cpe:/o:canonical:ubuntu_linux:14.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:python3-crypto, p-cpe:/a:canonical:ubuntu_linux:python-crypto, cpe:/o:canonical:ubuntu_linux:16.04:-:lts

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/17/2017

Vulnerability Publication Date: 2/15/2017

Reference Information

CVE: CVE-2013-7459

USN: 3199-2