Описание
Security update for python-bleach
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
setuptoolsdependency withpackaging. Thank you Benjamin Peterson.
Update to 3.1.4 (boo#1168280, CVE-2020-6817):
bleach.cleanbehavior parsing style attributes could result in a regular expression denial of service (ReDoS). Calls tobleach.cleanwith an allowed tag with an allowedstyleattribute 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)
- Test on PyPy 7
- Drop test support for end of life Python 3.4
bleach.cleanbehavior parsing embedded MathML and SVG content with RCDATA tags did not match browser behavior and could result in a mutation XSS. Calls tobleach.cleanwithstrip=Falseandmathorsvgtags and one or more of the RCDATA tagsscript,noscript,style,noframes,iframe,noembed, orxmpin the allowed tags whitelist were vulnerable to a mutation XSS.
Список пакетов
openSUSE Leap 15.2
Ссылки
- E-Mail link for openSUSE-SU-2021:0552-1
- SUSE Security Ratings
- SUSE Bug 1167379
- SUSE Bug 1168280
- SUSE Bug 1184547
- SUSE CVE CVE-2020-6816 page
- SUSE CVE CVE-2020-6817 page
- SUSE CVE CVE-2021-23980 page
Описание
In Mozilla Bleach before 3.12, a mutation XSS in bleach.clean when RCDATA and either svg or math tags are whitelisted and the keyword argument strip=False.
Затронутые продукты
Ссылки
- CVE-2020-6816
- SUSE Bug 1167379
Описание
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']}).
Затронутые продукты
Ссылки
- CVE-2020-6817
- SUSE Bug 1168280
Описание
A mutation XSS affects users calling bleach.clean with all of: svg or math in the allowed tags p or br in allowed tags style, title, noscript, script, textarea, noframes, iframe, or xmp in allowed tags the keyword argument strip_comments=False Note: none of the above tags are in the default allowed tags and strip_comments defaults to True.
Затронутые продукты
Ссылки
- CVE-2021-23980
- SUSE Bug 1184547