Description (CNA)
PREVAIL is a Polynomial-Runtime EBPF Verifier using an Abstract Interpretation Layer. Prior to version 0.2.4, in the Prevail eBPF verifier, EbpfTransformer::add() silently skips offset-variable updates when the destination register carries a non-singleton typeset (two or more simultaneously possible pointer types). Subsequent bounds checks use the stale offset and accept out-of-bounds memory accesses, so a crafted BPF program passes verification even though it would corrupt memory at runtime. This issue has been patched in version 0.2.4.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| vbpf / prevail | affected < 0.2.4 |
CWE
CWE-682
References
- https://github.com/vbpf/prevail/security/advisories/GHSA-2qc8-qh94-66rc
- https://github.com/vbpf/prevail/commit/2b209bc4e3d612ff9aca87125e67c0ff84477e61
- https://github.com/vbpf/prevail/releases/tag/v0.2.4
ADP enrichment
No English description supplied.