python-hyper/priority · Security
priority vulnerable to denial of service
- GHSA ID
- GHSA-h3q4-6j7f-r24c
- CVE ID
- CVE-2016-6580
- Severity
- medium
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4
- 6.6 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U
Description
A HTTP/2 implementation built using any version of the Python priority library prior to version 1.2.0 could be targeted by a malicious peer by having that peer assign priority information for every possible HTTP/2 stream ID. The priority tree would happily continue to store the priority information for each stream, and would therefore allocate unbounded amounts of memory. Attempting to actually use a tree like this would also cause extremely high CPU usage to maintain the tree.
CWEs
- CWE-770 · Allocation of Resources Without Limits or Throttling
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-6580 ↗
- https://python-hyper.org/priority/en/latest/security/CVE-2016-6580.html ↗
- https://github.com/python-hyper/priority/commit/7d01a7dc4db83bce50f20d47caf4f37b403a3ecd ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/priority/PYSEC-2017-93.yaml ↗
- https://web.archive.org/web/20160806004329/http://www.securityfocus.com/bid/92311 ↗
- https://github.com/advisories/GHSA-h3q4-6j7f-r24c ↗