FreeBSD : Python -- CRLF injection via the host part of the url passed to urlopen() (ca595a25-91d8-11ea-b470-080027846a02)

medium Nessus Plugin ID 136443

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Python reports :

An issue was discovered in urllib2 in Python 2.x through 2.7.17 and urllib in Python 3.x through 3.8.0. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n (specifically in the host component of a URL) followed by an HTTP header.

Solution

Update the affected packages.

See Also

https://bugs.python.org/issue38576

http://www.nessus.org/u?cd4c294f

Plugin Details

Severity: Medium

ID: 136443

File Name: freebsd_pkg_ca595a2591d811eab470080027846a02.nasl

Version: 1.6

Type: local

Published: 5/11/2020

Updated: 3/13/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2019-18348

CVSS v3

Risk Factor: Medium

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:python36, p-cpe:/a:freebsd:freebsd:python27, p-cpe:/a:freebsd:freebsd:python37, p-cpe:/a:freebsd:freebsd:python35, p-cpe:/a:freebsd:freebsd:python38, 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: 5/9/2020

Vulnerability Publication Date: 10/24/2019

Reference Information

CVE: CVE-2019-18348