Description (CNA)
ZeroBrew version 0.3.1 and prior contains a missing integrity verification vulnerability in the Ruby compatibility shim that allows network attackers to execute arbitrary code by substituting malicious content at formula resource or URL-based patch URLs without checksum validation. Attackers can intercept or replace downloads for secondary resource and patch paths in shim.rb, injecting attacker-controlled build steps or source tree modifications that execute during source builds via 'zb install --build-from-source' without any integrity warning.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| lucasgelfond / ZeroBrew | affected 0 through 0.3.1 |
CWE
CWE-494
References
- https://github.com/lucasgelfond/zerobrew
- https://github.com/lucasgelfond/zerobrew/commit/89a60b73c7edd6b662e2a085be3d981b6ebeb1aa
- https://www.vulncheck.com/advisories/zerobrew-version-and-prior-missing-checksum-verification-rce-via-shim-rb
ADP enrichment
No English description supplied.
No references supplied.