Bug ID | 1207242 |
---|---|
Summary | VUL-0: CVE-2021-32837: mechanize: Regular Expression Denial of Service |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 15.5 |
Hardware | Other |
URL | https://smash.suse.de/issue/354032/ |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Security |
Assignee | dmueller@suse.com |
Reporter | cathy.hu@suse.com |
QA Contact | security-team@suse.de |
Found By | Security Response Team |
Blocker | --- |
rh#2161855 mechanize, a library for automatically interacting with HTTP web servers, contains a regular expression that is vulnerable to regular expression denial of service (ReDoS) prior to version 0.4.6. If a web server responds in a malicious way, then mechanize could crash. Version 0.4.6 has a patch for the issue. https://securitylab.github.com/advisories/GHSL-2021-108-python-mechanize-mechanize/ https://github.com/python-mechanize/mechanize/commit/dd05334448e9f39814bab044d2eaa5ef69b410d6 https://github.com/python-mechanize/mechanize/blob/3acb1836f3fd8edc5a758a417dd46b53832ae3b5/mechanize/_urllib2_fork.py#L878-L879 https://github.com/python-mechanize/mechanize/releases/tag/v0.4.6 References: https://bugzilla.redhat.com/show_bug.cgi?id=2161855 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-32837 https://github.com/python-mechanize/mechanize/releases/tag/v0.4.6 https://www.cve.org/CVERecord?id=CVE-2021-32837 https://github.com/python-mechanize/mechanize/commit/dd05334448e9f39814bab044d2eaa5ef69b410d6 https://github.com/python-mechanize/mechanize/blob/3acb1836f3fd8edc5a758a417dd46b53832ae3b5/mechanize/_urllib2_fork.py#L878-L879 https://securitylab.github.com/advisories/GHSL-2021-108-python-mechanize-mechanize/