← CVE index
Vulnerability record/PUBLISHED/Published Jul 31, 2024 00:00:00 UTC

CVE-2024-42381

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.)

Base score8.3/ 10
SeverityHighCVSS 3.1

Exploitability / impact

CVSS metric breakdown

Vector-derived attributes
Base severityHigh
Attack complexityHighAC
Attack vectorNetworkAV
Availability impactHighA
Confidentiality impactHighC
Integrity impactHighI
Privileges requiredNonePR
ScopeChangedS
User interactionRequiredUI
CVSS vector stringCVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:R

CVSS communicates standardized severity and impact characteristics. It does not establish whether a system is exploitable in your specific environment.

Record context

CVE Numbering Authoritymitre
Last updatedJul 31, 2024 17:03:46 UTC
PublishedJul 31, 2024 00:00:00 UTC
ReservedJul 31, 2024 00:00:00 UTC