Linux Security
Linux Security
Linux Security

openSUSE: 2021:0552-1 important: python-bleach

Date 14 Apr 2021
Posted By LinuxSecurity Advisories
An update that fixes three vulnerabilities is now available.

   openSUSE Security Update: Security update for python-bleach

Announcement ID:    openSUSE-SU-2021:0552-1
Rating:             important
References:         #1167379 #1168280 #1184547 
Cross-References:   CVE-2020-6816 CVE-2020-6817 CVE-2021-23980
CVSS scores:
                    CVE-2020-6816 (NVD) : 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
                    CVE-2021-23980 (SUSE): 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected Products:
                    openSUSE Leap 15.2

   An update that fixes three vulnerabilities is now available.


   This update for python-bleach fixes the following issues:

   - CVE-2021-23980: Fixed mutation XSS on bleach.clean with specific
     combinations of allowed tags (boo#1184547)

   Update to 3.1.5:

   * replace missing ``setuptools`` dependency with ``packaging``. Thank you
     Benjamin Peterson.

   Update to 3.1.4 (boo#1168280, 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 were vulnerable
     to ReDoS. For example, ``bleach.clean(..., attributes={'a':
   * Style attributes with dashes, or single or double quoted values are
     cleaned instead of passed through.

   update to 3.1.3 (boo#1167379, CVE-2020-6816):

   * Add relative link to code of conduct. (#442)
   * Drop deprecated ' test' support. (#507)
   * Fix typo: curren -> current in tests/ (#504)
   * Test on PyPy 7
   * Drop test support for end of life Python 3.4
   * ``bleach.clean`` behavior parsing embedded MathML and SVG content with
     RCDATA tags did not match browser behavior and could result in a
     mutation XSS. Calls to ``bleach.clean`` with ``strip=False`` and
     ``math`` or ``svg`` tags and one or more of the RCDATA tags ``script``,
     ``noscript``, ``style``, ``noframes``, ``iframe``, ``noembed``, or
     ``xmp`` in the allowed tags whitelist were vulnerable to a mutation XSS.

Patch Instructions:

   To install this openSUSE Security Update use the SUSE recommended installation methods
   like YaST online_update or "zypper patch".

   Alternatively you can run the command listed for your product:

   - openSUSE Leap 15.2:

      zypper in -t patch openSUSE-2021-552=1

Package List:

   - openSUSE Leap 15.2 (noarch):



LinuxSecurity Poll

How frequently do you patch/update your system?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum 0 answer(s) and maximum 3 answer(s).
[{"id":"179","title":"As soon as patches\/updates are released - I track advisories for my distro(s) diligently","votes":"69","type":"x","order":"1","pct":75.82,"resources":[]},{"id":"180","title":"Every so often, when I think of it","votes":"14","type":"x","order":"2","pct":15.38,"resources":[]},{"id":"181","title":"Hardly ever","votes":"8","type":"x","order":"3","pct":8.79,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350

Please vote first in order to view vote results.



bottom 200

Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]

We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.