Alerts This Week
Warning Icon 1 677
Alerts This Week
Warning Icon 1 677

openSUSE Leap 15.2: 2021:0552-1 Important: Python-Bleach XSS Fix

opensuse
Calendar Grey April 14, 2021
Dist Opensuse Esm H88
The recent python-bleach update addresses several concerns, notably critical XSS vulnerabilities and ReDoS risks within openSUSE.
An update that fixes three vulnerabilities is now available

Description

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

* 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 'setup.py test' support. (#507)

* Fix typo: curren -> current in tests/test_clean.py (#504)

...

Read the Full Advisory

Patch

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):

python2-bleach-3.1.5-lp152.2.3.1

python3-bleach-3.1.5-lp152.2.3.1

References

https://www.suse.com/security/cve/CVE-2020-6816.html

https://www.suse.com/security/cve/CVE-2020-6817.html

https://www.suse.com/security/cve/CVE-2021-23980.html

https://bugzilla.suse.com/1167379

https://bugzilla.suse.com/1168280

https://bugzilla.suse.com/1184547

Severity
important
Lowest
Low
Medium
High
Critical

Announcement ID: openSUSE-SU-2021:0552-1
Rating: important
Affected Products: openSUSE Leap 15.2 .

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Related News

Your message here