FreeBSD : Python -- multiple vulnerabilities (33c05d57-bf6e-11ea-ba1e-0800273f78d3)

Medium Nessus Plugin ID 138125


The remote FreeBSD host is missing a security-related update.


Python reports :

The AbstractBasicAuthHandler class of the urllib.request module uses an inefficient regular expression which can be exploited by an attacker to cause a denial of service. Fix the regex to prevent the catastrophic backtracking. Vulnerability reported by Ben Caller and Matt Schwager.

Disallow control characters in hostnames in http.client, addressing CVE-2019-18348. Such potentially malicious header injection URLs now cause a InvalidURL to be raised.

Disallow CR or LF in email.headerregistry.Address arguments to guard against header injection attacks.


Update the affected package.

See Also

Plugin Details

Severity: Medium

ID: 138125

File Name: freebsd_pkg_33c05d57bf6e11eaba1e0800273f78d3.nasl

Version: 1.3

Type: local

Published: 2020/07/06

Updated: 2020/07/21

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS Score Source: CVE-2019-18348

CVSS v2.0

Base Score: 4.3

Temporal Score: 3.2

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

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

CVSS v3.0

Base Score: 6.1

Temporal Score: 5.3

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

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:python37, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 2020/07/06

Vulnerability Publication Date: 2019/10/24

Reference Information

CVE: CVE-2019-18348, CVE-2020-8492