ZeroBrew version 0.3.1 and prior Missing Checksum Verification RCE via shim.rb
lucasgelfond ZeroBrew
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| lucasgelfond ZeroBrew |
| No fix yet |
Original 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.
From the CVE record · VulnCheck