FreeBSD : py-bleach -- regular expression denial-of-service (4c52ec3c-86f3-11ea-b5b4-641c67a117d8)

high Nessus Plugin ID 136003

Language:

Synopsis

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

Description

Bleach developers reports :

bleach.clean behavior parsing style attributes could result in a regular expression denial of service (ReDoS).

Calls to bleach.clean with an allowed tag with an allowed style attribute are vulnerable to ReDoS. For example, bleach.clean(..., attributes={'a': ['style']}).

Solution

Update the affected packages.

See Also

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

https://bugzilla.mozilla.org/show_bug.cgi?id=1623633

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

http://www.nessus.org/u?19de3496

Plugin Details

Severity: High

ID: 136003

File Name: freebsd_pkg_4c52ec3c86f311eab5b4641c67a117d8.nasl

Version: 1.4

Type: local

Published: 4/27/2020

Updated: 3/14/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

CVSS Score Source: CVE-2020-6817

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

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

Vulnerability Information

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

Vulnerability Publication Date: 3/9/2019

Reference Information

CVE: CVE-2020-6817