Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lucasgelfond | ZeroBrew | ≤ 0.3.1 | — |
References
- Product Repository issue-tracking
- Patch Commit patch
- https://www.vulncheck.com/advisories/zerobrew-version-and-prior-missing-checksum-verification-rce-via-shim-rb third-party-advisory