Description
flatcc through 0.6.4 contains an integer overflow vulnerability in the check_header function of the FlatBuffers verifier because its overflow guard is dead code. On 32-bit builds, attackers can supply a crafted buffer offset that wraps the bounds check, causing an out-of-bounds read before the buffer and crashing the process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| dvidelabs | flatcc | ≤ 0.6.4 | — |
References
- Patch Commit patch
- https://github.com/dvidelabs/flatcc product
- https://github.com/dvidelabs/flatcc/blob/v0.6.4/src/runtime/verifier.c#L126-L137 technical-description
- https://hackmd.io/@haindpwn/flatcc-json-number-oob-read third-party-advisory
- VulnCheck Advisory: flatcc through 0.6.4 Out-of-Bounds Read via verifier check_header third-party-advisory