Advisory

GHSA-38hf-c37x-32hv

Also known as: CVE-2022-40922, PYSEC-2022-43138

Summary

LIEF vulnerable to denial of service through segmentation fault

Details

A vulnerability in the LIEF::MachO::BinaryParser::init_and_parse function of LIEF v0.12.1 allows attackers to cause a denial of service (DOS) through a segmentation fault via a crafted MachO file. A patch for this issue is available at commit fde2c48986739fabd2cf9b40b9af149a89c57850.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-10-04 00:00 UTC
Modified
2024-12-07 05:31 UTC

Affected packages and fixes

lief

PyPI · All systems

Affected

  • introduced 0, fixed 0.12.2 (ecosystem)

Fixed versions

0.12.2

Fix

  • Fixed version 0.12.2
    pip install --upgrade lief==0.12.2

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