CVE & CISA-KEV Catalog

CVE-2024-42381

HIGH
8.3
CVSS v3
NVD

Description

os/linux/elf.rb in Homebrew brew before 4.2.20 uses ldd to load ELF files obtained from untrusted sources, which allows attackers to achieve code execution via an ELF file with a custom .interp section. NOTE: this code execution would occur during an un-sandboxed binary relocation phase, which occurs before a user would expect execution of downloaded package content. (237d1e783f7ee261beaba7d3f6bde22da7148b0a was the tested vulnerable version.)

How to fix

No published remediation has been found for this vulnerability's affected products yet.

Mitigation guidance may be in the linked vendor advisories in the References section below.

TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

0.65%probability of exploitation in 30 days
47thpercentile

Moderate risk: more likely to be exploited than 47% of all known CVEs.

References

Related Vulnerabilities

Other CWE-830 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-64496High7.37.9%-Fix
CVE-2024-29944High8.44.7%-Fix
CVE-2023-2588High8.81.1%-Fix
CVE-2021-28162Medium6.10.8%--
CVE-2025-33028Medium6.10.5%--
CVE-2024-35180Medium6.10.3%-Fix
Embed a live status badge for CVE-2024-42381
CVE-2024-42381 severity badge

Markdown

[![CVE-2024-42381](https://tridentstack.com/cve/badge/CVE-2024-42381.svg)](https://tridentstack.com/cve/CVE-2024-42381)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-42381"><img src="https://tridentstack.com/cve/badge/CVE-2024-42381.svg" alt="CVE-2024-42381"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-08-01.