Advisory

GHSA-x2xx-jw5m-5j86

Also known as: CVE-2022-38307, PYSEC-2022-275

Summary

LIEF contains segmentation violation

Details

LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function LIEF::MachO::SegmentCommand::file_offset() at /MachO/SegmentCommand.cpp. Commit 7acf0bc4224081d4f425fcc8b2e361b95291d878 contains a patch.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-09-14 00:00 UTC
Modified
2024-02-16 08:18 UTC

Affected packages and fixes

lief

PyPI · All systems

Affected

  • introduced 0, fixed 0.12.1 (ecosystem)

Fixed versions

0.12.1

Fix

  • Fixed version 0.12.1
    pip install --upgrade lief==0.12.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