CVE-2020-37280 cbor-sync through 1.0.4 Memory Exhaustion via Unchecked CBOR Array Lengths
HighCVSS 8.7
EPSS 0.54%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm cbor-sync | <= 1.0.4 | after 1.0.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm cbor-sync | <= 1.0.4 | No fix listed |
References
- GitHub Pull Request #4 issue-tracking patch
- GitHub Issue #6 issue-tracking
- github.com product
- VulnCheck Advisory: cbor-sync through 1.0.4 Memory Exhaustion via Unchecked CBOR Array Lengths third-party-advisory
- ENISA EUVD EUVD-2020-31277 third-party-advisory