VDB
Sign up
—

PYSEC-2022-42998

Quick fix

PYSEC-2022-42998 — py7zr: upgrade to the fixed version with the command below.

pip install --upgrade 'py7zr>=1bb43f17515c7f69673a1c88ab9cc72a7bbef406'

Details

A directory traversal vulnerability in the SevenZipFile.extractall() function of the python library py7zr v0.20.0 and earlier allows attackers to write arbitrary files via extracting a crafted 7z file.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/py7zr
Introduced in: 0Fixed in: 1bb43f17515c7f69673a1c88ab9cc72a7bbef406
Fixpip install --upgrade 'py7zr>=1bb43f17515c7f69673a1c88ab9cc72a7bbef406'

References