Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2024-42381

Summary
Assigner-mitre
Assigner Org ID-8254265b-2729-46b6-b9e3-3dfca2d5bfca
Published At-31 Jul, 2024 | 00:00
Updated At-31 Jul, 2024 | 17:03
Rejected At-
Credits

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

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:mitre
Assigner Org ID:8254265b-2729-46b6-b9e3-3dfca2d5bfca
Published At:31 Jul, 2024 | 00:00
Updated At:31 Jul, 2024 | 17:03
Rejected At:
▼CVE Numbering Authority (CNA)

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 Products
Vendor
n/a
Product
n/a
Versions
Affected
  • n/a
Problem Types
TypeCWE IDDescription
textN/An/a
Type: text
CWE ID: N/A
Description: n/a
Metrics
VersionBase scoreBase severityVector
3.18.3HIGH
CVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:R
Version: 3.1
Base score: 8.3
Base severity: HIGH
Vector:
CVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:R
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/Homebrew/brew/tree/237d1e783f7ee261beaba7d3f6bde22da7148b0a
N/A
https://github.com/trailofbits/publications/blob/master/reviews/2023-08-28-homebrew-securityreview.pdf
N/A
https://blog.trailofbits.com/2024/07/30/our-audit-of-homebrew/
N/A
https://brew.sh/2024/07/30/homebrew-security-audit/
N/A
https://github.com/Homebrew/brew/commit/916b37388d3851a8a93a8e9b4adc38873680ead7
N/A
https://github.com/Homebrew/brew/releases/tag/4.2.20
N/A
https://github.com/Homebrew/brew/pull/17136
N/A
Hyperlink: https://github.com/Homebrew/brew/tree/237d1e783f7ee261beaba7d3f6bde22da7148b0a
Resource: N/A
Hyperlink: https://github.com/trailofbits/publications/blob/master/reviews/2023-08-28-homebrew-securityreview.pdf
Resource: N/A
Hyperlink: https://blog.trailofbits.com/2024/07/30/our-audit-of-homebrew/
Resource: N/A
Hyperlink: https://brew.sh/2024/07/30/homebrew-security-audit/
Resource: N/A
Hyperlink: https://github.com/Homebrew/brew/commit/916b37388d3851a8a93a8e9b4adc38873680ead7
Resource: N/A
Hyperlink: https://github.com/Homebrew/brew/releases/tag/4.2.20
Resource: N/A
Hyperlink: https://github.com/Homebrew/brew/pull/17136
Resource: N/A
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Vendor
homebrew
Product
brew
CPEs
  • cpe:2.3:a:homebrew:brew:*:*:*:*:*:*:*:*
Default Status
unknown
Versions
Affected
  • From 0 before 4.2.20 (custom)
Problem Types
TypeCWE IDDescription
CWECWE-830CWE-830 Inclusion of Web Functionality from an Untrusted Source
Type: CWE
CWE ID: CWE-830
Description: CWE-830 Inclusion of Web Functionality from an Untrusted Source
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:cve@mitre.org
Published At:31 Jul, 2024 | 06:15
Updated At:01 Aug, 2024 | 13:59

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

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.18.3HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Type: Secondary
Version: 3.1
Base score: 8.3
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
CPE Matches

Weaknesses
CWE IDTypeSource
CWE-830Secondary134c704f-9b21-4f2e-91b3-4a467353bcc0
CWE ID: CWE-830
Type: Secondary
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://blog.trailofbits.com/2024/07/30/our-audit-of-homebrew/cve@mitre.org
N/A
https://brew.sh/2024/07/30/homebrew-security-audit/cve@mitre.org
N/A
https://github.com/Homebrew/brew/commit/916b37388d3851a8a93a8e9b4adc38873680ead7cve@mitre.org
N/A
https://github.com/Homebrew/brew/pull/17136cve@mitre.org
N/A
https://github.com/Homebrew/brew/releases/tag/4.2.20cve@mitre.org
N/A
https://github.com/Homebrew/brew/tree/237d1e783f7ee261beaba7d3f6bde22da7148b0acve@mitre.org
N/A
https://github.com/trailofbits/publications/blob/master/reviews/2023-08-28-homebrew-securityreview.pdfcve@mitre.org
N/A
Hyperlink: https://blog.trailofbits.com/2024/07/30/our-audit-of-homebrew/
Source: cve@mitre.org
Resource: N/A
Hyperlink: https://brew.sh/2024/07/30/homebrew-security-audit/
Source: cve@mitre.org
Resource: N/A
Hyperlink: https://github.com/Homebrew/brew/commit/916b37388d3851a8a93a8e9b4adc38873680ead7
Source: cve@mitre.org
Resource: N/A
Hyperlink: https://github.com/Homebrew/brew/pull/17136
Source: cve@mitre.org
Resource: N/A
Hyperlink: https://github.com/Homebrew/brew/releases/tag/4.2.20
Source: cve@mitre.org
Resource: N/A
Hyperlink: https://github.com/Homebrew/brew/tree/237d1e783f7ee261beaba7d3f6bde22da7148b0a
Source: cve@mitre.org
Resource: N/A
Hyperlink: https://github.com/trailofbits/publications/blob/master/reviews/2023-08-28-homebrew-securityreview.pdf
Source: cve@mitre.org
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found