Vulnerability in N/a
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.)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.3 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.006 (49.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 49th percentile — 49.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Weakness classification (CWE)
References
- github.com/Homebrew/brew/tree/237d1e783f7ee261beaba7d3f6bde22da7148b0a
- github.com/trailofbits/publications/blob/master/reviews/2023-08-28-homebrew-sec…
- blog.trailofbits.com/2024/07/30/our-audit-of-homebrew/
- brew.sh/2024/07/30/homebrew-security-audit/
- github.com/Homebrew/brew/commit/916b37388d3851a8a93a8e9b4adc38873680ead7
- github.com/Homebrew/brew/releases/tag/4.2.20
- github.com/Homebrew/brew/pull/17136
Frequently asked questions
- What is CVE-2024-42381?
- CVE-2024-42381 is a high-severity vulnerability in N/a, classified under CWE-830. CVSS score: 8.3/10. Published 2024-07-31.
- How severe is CVE-2024-42381?
- High severity. CVSS v3 base score is 8.3 out of 10.