VDB
Sign up
—

PYSEC-2017-93

Quick fix

PYSEC-2017-93 — priority: upgrade to the fixed version with the command below.

pip install --upgrade 'priority>=1.2.0'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/priority
Introduced in: 0Fixed in: 1.2.0
Fixpip install --upgrade 'priority>=1.2.0'

References