Cloudanix VulnDB

CVE-2024-31636

Low · 3.9

CVSS

3.9

EPSS

0.2%

Published

May 3, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in a tool that reads certain computer program files might let someone who already has access to your computer see some private details.

Exploitation
Requires User Interaction
Attacker needs
Local User
Complexity
Low
Impact
Data Exposure
Component
Library
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The vulnerability in the machd_reader.c component of LIEF allows a local attacker to disclose sensitive information by manipulating the name parameter, potentially exposing internal data structures or memory contents.

Why it matters to the business

Organizations using the LIEF library in their build or analysis tools may face increased risk of local data leakage, which could lead to exposure of proprietary code or configuration details if an attacker has local access.

How an attack unfolds

An attacker with local access to a system running LIEF version 0.14.1 crafts a malicious input targeting the name parameter in the Mach-O reader, causing the library to leak sensitive information during parsing.

How to fix it

Update LIEF to a version later than 0.14.1. If no patch is available, isolate library usage or apply input validation around the name parameter in Mach-O handling.

How to confirm the fix worked

Confirm LIEF version exceeds 0.14.1 in all deployments. Test binary parsing workflows with crafted name parameters to verify absence of information leakage.

Typical attack path

  1. Gain local access to the target system
  2. Identify use of LIEF library
  3. Craft input to trigger the name parameter vulnerability
  4. Extract disclosed sensitive information

How to detect it

Review local process execution logs for invocations of LIEF involving Mach-O files and inspect for anomalous handling of name fields during parsing operations.

What your security team should do

  • Inventory all uses of LIEF across development and analysis environments
  • Prioritize upgrade to the latest LIEF release
  • Restrict local access to systems performing binary parsing with LIEF

The record

An issue in LIEF v.0.14.1 allows a local attacker to obtain sensitive information via the name parameter of the machd_reader.c component.

Affected packages

Ecosystem Package Introduced Fixed
PyPI lief 0 0.15.0
Debian:11 lief 0 No fix
Debian:12 lief 0 No fix
Ubuntu:20.04:LTS lief 0 No fix
Ubuntu:22.04:LTS lief 0 No fix
Ubuntu:Pro:20.04:LTS lief 0 No fix

Related vulnerabilities