01 Record
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
HighPUBLISHEDCNA: mitre
CNA base score8.3 CVSS v3.xCVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:R
02 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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 0.64% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 50.8% of scored records. A rank, not a probability.
- NVD base score
- 8.3 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
- NVD analysis status
- Deferred. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-07-31 00:00Z2 YR AGO
- Last updated
- 2024-07-31 17:03Z2 YR AGO
- Reserved
- 2024-07-31
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.3)
- CNA CVSS vector
- CVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:R
- Weaknesses
- CWE-830Inclusion of Web Functionality from an Untrusted SourceVariant
- Data version
- 5.1
- Document digest
- 603c0115bc4b3fdd9ac614f741b23a0319d112228f5171c87427ee07bed240b7
05 Affected products
VendorProductVersionsPlatforms
06 References
- github.comhttps://github.com/Homebrew/brew/tree/237d1e783f7ee261beaba7d3f6bde22da7148b0a
- github.comhttps://github.com/trailofbits/publications/blob/master/reviews/2023-08-28-homebrew-securityreview.pdf
- blog.trailofbits.comhttps://blog.trailofbits.com/2024/07/30/our-audit-of-homebrew/
- brew.shhttps://brew.sh/2024/07/30/homebrew-security-audit/
- github.comhttps://github.com/Homebrew/brew/commit/916b37388d3851a8a93a8e9b4adc38873680ead7
- github.comhttps://github.com/Homebrew/brew/releases/tag/4.2.20
- github.comhttps://github.com/Homebrew/brew/pull/17136