| Summary: | python-httplib2 security issue CVE-2021-21240 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Zombie Ryushu <zombie_ryushu> |
| Component: | Security | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | Sec team <security> |
| Severity: | major | ||
| Priority: | Normal | CC: | andrewsfarm, davidwhodgins, herman.viaene, mageia, ouaurelien, petlaw726, sysadmin-bugs, tarazed25 |
| Version: | 8 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://nvd.nist.gov/vuln/detail/CVE-2021-21240 | ||
| Whiteboard: | MGA7TOO MGA8-64-OK MGA7-64-OK | ||
| Source RPM: | python-httplib2-0.18.1-1.mga8.src.rpm | CVE: | CVE-2021-21240 |
| Status comment: | |||
|
Description
Zombie Ryushu
2021-02-20 09:18:43 CET
Zombie Ryushu
2021-02-20 09:19:02 CET
CVE:
(none) =>
CVE-2021-21240 Upstream advisory released on February 8th 2021: https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m Hi, thanks for reporting this. Assigned to the package maintainer. (Please set the status to 'assigned' if you are working on it) CC:
(none) =>
ouaurelien
Aurelien Oudelet
2021-02-20 13:19:54 CET
Keywords:
Triaged =>
(none)
David Walser
2021-02-20 18:43:35 CET
Status comment:
(none) =>
Fixed upstream in 0.19.0 src:
- python-httplib2-0.19.0-1.mga7
- python-httplib2-0.19.0-1.mga8Status comment:
Fixed upstream in 0.19.0 =>
(none) RPMS list: python-httplib2-0.19.0-1.mga7 python3-httplib2-0.19.0-1.mga7 python3-httplib2-0.19.0-1.mga8 Version:
Cauldron =>
8 # urpmi python-httplib2 python3-httplib2 Some requested packages cannot be installed: python-httplib2-0.19.0-1.mga7.noarch (due to unsatisfied python2.7dist(pyparsing)[>= 2.4.2]) python3-httplib2-0.19.0-1.mga7.noarch (due to unsatisfied python3.7dist(pyparsing)[>= 2.4.2]) CC:
(none) =>
davidwhodgins we need to make sure i can update it w/o breaking deps. Can someone using a mga 7 can do urpmq --whatrequires python3-pyparsing for ex ? $ urpmq --whatrequires python3-pyparsing|sort -u certbot-nginx dot2tex mitmproxy odoo11 python3-cliff python3-configshell python3-httplib2 python3-matplotlib python3-oslo-utils python3-packaging python3-pydot python3-pyparsing python3-rdflib python3-rustcfg $ urpmq --whatrequires python2-pyparsing|sort -u odoo puddletag python2-celery python2-cliff python2-cmd2 python2-configshell python2-matplotlib python2-oslo-utils python2-packaging python2-pydot python2-pyparsing python-httplib2 python-rdflib wfuzz Advisory: ======================== Updated python-httplib2 packages fix security vulnerability: A malicious server which responds with long series of \xa0 characters in the www-authenticate header may cause Denial of Service (CPU burn while parsing header) of the httplib2 client accessing said server (CVE-2021-21240). References: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21240 https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m mga8, x64 Referring to bug 26750 for test script. Before update: $ python Python 3.8.7 (default, Jan 24 2021, 11:10:31) [GCC 10.2.1 20210123] on linux >>> import httplib2 >>> h = httplib2.Http('.cache') >>> response, content = h.request('https://mageia.org', 'GET') >>> print (dict(response.items())) {'date': 'Thu, 04 Mar 2021 23:17:15 GMT', 'server': 'Apache/2.4.46 (Mageia) OpenSSL/1.1.0l mod_fcgid/2.3.9 PHP/7.3.27 mod_perl/2.0.10 Perl/v5.28.3', 'x-powered-by': 'PHP/7.3.27', 'transfer-encoding': 'chunked', 'content-type': 'text/html; charset=UTF-8', 'status': '200', 'content-location': 'https://www.mageia.org/en/'} >>> exit() Updated to python3-httplib2-0.19.0-1.mga8. $ python Python 3.8.7 (default, Jan 24 2021, 11:10:31) >>> import httplib2 >>> h = httplib2.Http('.cache') >>> response, content = h.request('https://mageia.org', 'GET') >>> print (dict(response.items())) {'date': 'Thu, 04 Mar 2021 23:25:53 GMT', 'server': 'Apache/2.4.46 (Mageia) OpenSSL/1.1.0l mod_fcgid/2.3.9 PHP/7.3.27 mod_perl/2.0.10 Perl/v5.28.3', 'x-powered-by': 'PHP/7.3.27', 'transfer-encoding': 'chunked', 'content-type': 'text/html; charset=UTF-8', 'status': '200', 'content-location': 'https://www.mageia.org/en/'} >>> exit() Fair enough. Whiteboard:
MGA7TOO =>
MGA7TOO MGA8-64-OK Adding feedback tag due to python-httplib2-0.19.0-1.mga7.noarch (due to unsatisfied python2.7dist(pyparsing)[>= 2.4.2]) python3-httplib2-0.19.0-1.mga7.noarch (due to unsatisfied python3.7dist(pyparsing)[>= 2.4.2]) and reassigning back to the maintainer. Keywords:
(none) =>
feedback
David Walser
2021-03-05 04:08:07 CET
Assignee:
makowski.mageia =>
python can someone under mageia 7 provide the packages requiring python2.7dist(pyparsing) and python3.7dist(pyparsing) ? (In reply to Nicolas Lécureuil from comment #12) > can someone under mageia 7 provide the packages requiring > python2.7dist(pyparsing) and python3.7dist(pyparsing) ? See comment 6 and comment 7 (In reply to Dave Hodgins from comment #13) > (In reply to Nicolas Lécureuil from comment #12) > > can someone under mageia 7 provide the packages requiring > > python2.7dist(pyparsing) and python3.7dist(pyparsing) ? > > See comment 6 and comment 7 sorry, perfect :-) New rpm: python-pyparsing-2.4.2-1.mga7 RPMS list: python-httplib2-0.19.0-1.mga7 python3-httplib2-0.19.0-1.mga7 python2-pyparsing-2.4.2-1.mga7 python3-pyparsing-2.4.2-1.mga7 python3-httplib2-0.19.0-1.mga8
Nicolas Lécureuil
2021-03-05 21:31:19 CET
Assignee:
python =>
qa-bugs
David Walser
2021-03-05 21:40:50 CET
Keywords:
feedback =>
(none) MGA7-64 MATE on Peaq C1011 No installation issues. Ref bug 26750 Comment 5 using test files. Output is same as there. OK CC:
(none) =>
herman.viaene Validating. Advisory in Comment 8. CC:
(none) =>
andrewsfarm, sysadmin-bugs Advisory committed to SVN. Keywords:
(none) =>
advisory An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGASA-2021-0122.html Resolution:
(none) =>
FIXED |