CVE-2024-42381

July 31, 2024, 12:57 p.m.

Awaiting Analysis
CVE has been recently published to the CVE List and has been received by the NVD.

Products

Homebrew brew

  • before 4.2.20

Source

cve@mitre.org

Tags

CVE-2024-42381 details

Published : July 31, 2024, 6:15 a.m.
Last Modified : July 31, 2024, 12:57 p.m.

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

CVSS Score

1 2 3 4 5 6 7 8.3 9 10

Weakness

Weakness Name Description

CVSS Data

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

Base Score

8.3

Exploitability Score

1.6

Impact Score

6.0

Base Severity

HIGH

This website uses the NVD API, but is not approved or certified by it.