Description
cbor-sync through 1.0.4 contains a resource exhaustion vulnerability in CBOR.decode that trusts declared array and map lengths without checking remaining input. Remote attackers can supply a tiny crafted CBOR payload declaring huge lengths to drive billions of iterations, exhausting CPU and process memory.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PelionIoT | cbor-sync | ≤ 1.0.4 | — |
References
- GitHub Pull Request #4 issue-tracking patch
- GitHub Issue #6 issue-tracking
- https://github.com/PelionIoT/cbor-sync product
- VulnCheck Advisory: cbor-sync through 1.0.4 Memory Exhaustion via Unchecked CBOR Array Lengths third-party-advisory