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

critical Nessus Plugin ID 135883

Language:

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.4

Type: local

Published: 4/22/2020

Updated: 3/15/2024

Supported Sensors: 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-2020-10109

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: 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 Available: true

Exploit Ease: 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