Advisory

GHSA-f8m3-jpxr-hm5x

Also known as: CVE-2020-15904, PYSEC-2020-30

Summary

bsdiff4 out-of-bounds write via patch file

Details

A buffer overflow in the patching routine of bsdiff4 before 1.2.0 allows an attacker to write to heap memory (beyond allocated bounds) via a crafted patch file.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:24 UTC
Modified
2024-09-06 16:00 UTC

Affected packages and fixes

bsdiff4

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 bsdiff4==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