Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. lief
  4. ›
  5. CVE-2022-38307

CVE-2022-38307: Uncontrolled Resource Consumption

September 14, 2022 (updated September 20, 2022)

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

References

  • github.com/advisories/GHSA-x2xx-jw5m-5j86
  • github.com/lief-project/LIEF/commit/7acf0bc4224081d4f425fcc8b2e361b95291d878
  • github.com/lief-project/LIEF/issues/764
  • github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-275.yaml
  • nvd.nist.gov/vuln/detail/CVE-2022-38307

Code Behaviors & Features

Detect and mitigate CVE-2022-38307 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0 before 0.12.1

Fixed versions

  • 0.12.1

Solution

Upgrade to version 0.12.1 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/lief/CVE-2022-38307.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:16 +0000.