{"id":"CVE-2024-42381","published":"2024-07-31T00:00:00Z","modified":"2024-07-31T17:03:46Z","title":"os/linux/elf.rb in Homebrew brew before 4.2.20 uses ldd to load ELF files obtained from untrusted sources, which…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.)","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:R","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01178,"percentile":0.67486,"provenance":"source"},"cwes":[{"id":"CWE-830","name":"Inclusion of Web Functionality from an Untrusted Source"}],"references":[{"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":[]},{"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/releases/tag/4.2.20","tags":[]},{"url":"https://github.com/Homebrew/brew/pull/17136","tags":[]}],"priority":{"score":19.3,"factors":[{"name":"EPSS percentile","points":13.5},{"name":"CVSS severity","points":5.81}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-07-31T16:56:17.154538Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-39586","exploited":false,"provenance":"source"}}