Advisory

GHSA-m8xw-9x5x-6vh3

Also known as: CVE-2022-44900, PYSEC-2022-42998

Summary

py7zr directory traversal vulnerability

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-12-06 21:30 UTC
Modified
2024-10-18 22:22 UTC

Affected packages and fixes

py7zr

PyPI · All systems

Affected

  • introduced 0, fixed 0.20.1 (ecosystem)

Fixed versions

0.20.1

Fix

  • Fixed version 0.20.1
    pip install --upgrade py7zr==0.20.1

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