Skip to content

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.

PackageAffectedFixed inStatus
npm cbor-sync <= 1.0.4 after 1.0.4 Fixed

Affected products

ProductAffected versionsFixed in
npm cbor-sync <= 1.0.4 No fix listed

References