FreeBSD : py-twisted -- multiple vulnerabilities (9fbaefb3-837e-11ea-b5b4-641c67a117d8) (Ping Flood) (Reset Flood) (Settings Flood)

critical Nessus Plugin ID 135883

Language:

New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

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

Description

Twisted developers reports :

All HTTP clients in twisted.web.client now raise a ValueError when called with a method and/or URL that contain invalid characters. This mitigates CVE-2019-12387. Thanks to Alex Brasetvik for reporting this vulnerability.

The HTTP/2 server implementation now enforces TCP flow control on control frame messages and times out clients that send invalid data without reading responses. This closes CVE-2019-9512 (Ping Flood), CVE-2019-9514 (Reset Flood), and CVE-2019-9515 (Settings Flood).
Thanks to Jonathan Looney and Piotr Sikora.

twisted.web.http was subject to several request smuggling attacks.
Requests with multiple Content-Length headers were allowed (CVE-2020-10108, thanks to Jake Miller from Bishop Fox and ZeddYu Lu for reporting this) and now fail with a 400; requests with a Content-Length header and a Transfer-Encoding header honored the first header (CVE-2020-10109, thanks to Jake Miller from Bishop Fox for reporting this) and now fail with a 400; requests whose Transfer-Encoding header had a value other than 'chunked' and 'identity' (thanks to ZeddYu Lu) were allowed and now fail with a 400.

Solution

Update the affected packages.

See Also

https://github.com/twisted/twisted/blob/twisted-20.3.0/NEWS.rst

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245252

http://www.nessus.org/u?2ad22dfd

Plugin Details

Severity: Critical

ID: 135883

File Name: freebsd_pkg_9fbaefb3837e11eab5b4641c67a117d8.nasl

Version: 1.2

Type: local

Published: 4/22/2020

Updated: 4/24/2020

Dependencies: ssh_get_info.nasl

Risk Information

CVSS Score Source: CVE-2020-10109

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:py27-twisted, p-cpe:/a:freebsd:freebsd:py35-twisted, p-cpe:/a:freebsd:freebsd:py36-twisted, p-cpe:/a:freebsd:freebsd:py37-twisted, p-cpe:/a:freebsd:freebsd:py38-twisted, 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: 4/21/2020

Vulnerability Publication Date: 3/1/2019

Reference Information

CVE: CVE-2019-12387, CVE-2019-9512, CVE-2019-9514, CVE-2019-9515, CVE-2020-10108, CVE-2020-10109