FreeBSD : go -- invalid headers are normalized, allowing request smuggling (a92dcc5c-e05c-11e9-b589-10c37b4ac2ea)

high Nessus Plugin ID 129426

Language:

Synopsis

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

Description

The Go project reports :

net/http (through net/textproto) used to accept and normalize invalid HTTP/1.1 headers with a space before the colon, in violation of RFC 7230. If a Go server is used behind a reverse proxy that accepts and forwards but doesn't normalize such invalid headers, the reverse proxy and the server can interpret the headers differently. This can lead to filter bypasses or request smuggling, the latter if requests from separate clients are multiplexed onto the same connection by the proxy. Such invalid headers are now rejected by Go servers, and passed without normalization to Go client applications.

Solution

Update the affected packages.

See Also

https://github.com/golang/go/issues/34540

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

Plugin Details

Severity: High

ID: 129426

File Name: freebsd_pkg_a92dcc5ce05c11e9b58910c37b4ac2ea.nasl

Version: 1.6

Type: local

Published: 9/30/2019

Updated: 10/9/2020

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2019-16276

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:go, p-cpe:/a:freebsd:freebsd:go-devel, 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: 9/26/2019

Vulnerability Publication Date: 9/25/2019

Reference Information

CVE: CVE-2019-16276

IAVB: 2019-B-0085-S