Advisory

GHSA-h3q4-6j7f-r24c

Also known as: CVE-2016-6580, PYSEC-2017-93

Summary

priority vulnerable to denial of service

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 03:02 UTC
Modified
2024-08-30 23:58 UTC

Affected packages and fixes

priority

PyPI · All systems

Affected

  • introduced 0, fixed 1.2.0 (ecosystem)

Fixed versions

1.2.0

Fix

  • Fixed version 1.2.0
    pip install --upgrade priority==1.2.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences