CVE-2020-6817

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']}).
Configurations

Configuration 1 (hide)

cpe:2.3:a:mozilla:bleach:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:36

Type Values Removed Values Added
References () https://bugzilla.mozilla.org/show_bug.cgi?id=1623633 - Exploit, Issue Tracking () https://bugzilla.mozilla.org/show_bug.cgi?id=1623633 - Exploit, Issue Tracking
References () https://github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmm - Vendor Advisory () https://github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmm - Vendor Advisory
Summary
  • (es) Los atributos de estilo de análisis del comportamiento de bleach.clean podrían dar como resultado una denegación de servicio de expresión regular (ReDoS). Las llamadas a blanqueador.clean con una etiqueta permitida con un atributo de estilo permitido son vulnerables a ReDoS. Por ejemplo, blanqueador.clean(..., atributos={'a': ['estilo']}).

28 Feb 2023, 14:46

Type Values Removed Values Added
References (MISC) https://bugzilla.mozilla.org/show_bug.cgi?id=1623633 - (MISC) https://bugzilla.mozilla.org/show_bug.cgi?id=1623633 - Exploit, Issue Tracking
References (MISC) https://github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmm - (MISC) https://github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmm - Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CWE CWE-1333
CPE cpe:2.3:a:mozilla:bleach:*:*:*:*:*:*:*:*

17 Feb 2023, 12:52

Type Values Removed Values Added
New CVE

Information

Published : 2023-02-16 22:15

Updated : 2025-03-19 16:15


NVD link : CVE-2020-6817

Mitre link : CVE-2020-6817

CVE.ORG link : CVE-2020-6817


JSON object : View

Products Affected

mozilla

  • bleach
CWE
CWE-1333

Inefficient Regular Expression Complexity