{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-42381","published":"2024-07-31T06:15:02.130000Z","last_modified":"2026-06-17T07:49:21.777000Z","status":"Deferred","cvss":{"version":"3.1","score":8.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"cve@mitre.org","primary":false},"auth":false,"cwes":["CWE-830"],"cpes":[],"cpes_truncated":false,"vendors":["homebrew"],"products":["homebrew/brew"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.01178,"percentile":0.6755,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":65,"links":{"html_es":"/es/cve/CVE-2024-42381/","html_en":"/en/cve/CVE-2024-42381/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-42381","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-42381"},"untrusted":{"vendor_name":"homebrew","product_name":"brew","desc_en":"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.)","affected":[{"untrusted_vendor":"homebrew","untrusted_product":"brew","versions":[]}],"references":[{"url":"https://blog.trailofbits.com/2024/07/30/our-audit-of-homebrew/","tags":[]},{"url":"https://brew.sh/2024/07/30/homebrew-security-audit/","tags":[]},{"url":"https://github.com/Homebrew/brew/commit/916b37388d3851a8a93a8e9b4adc38873680ead7","tags":[]},{"url":"https://github.com/Homebrew/brew/pull/17136","tags":[]},{"url":"https://github.com/Homebrew/brew/releases/tag/4.2.20","tags":[]},{"url":"https://github.com/Homebrew/brew/tree/237d1e783f7ee261beaba7d3f6bde22da7148b0a","tags":[]},{"url":"https://github.com/trailofbits/publications/blob/master/reviews/2023-08-28-homebrew-securityreview.pdf","tags":[]}]}}