GitHub Advisoryadvisory · PyPI

GHSA-h3q4-6j7f-r24c priority vulnerable to denial of service

MEDIUM Published 2022-05-17 Modified 2024-08-30 Official page ↗
Aliases
CVE-2016-6580
Ecosystem
PyPI
Packages
priority
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-770
Reviewed
2024-08-30

Affected packages

• PyPI priority: < 1.2.0 → fixed in 1.2.0

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.

Related

Alias · CVE (1)

  • CVE-2016-6580 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… vulnerability

Weakness · CWE (1)

  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References