A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Cpanel::JSON::XS versions from 4.28 before 4.80 for Perl leak the array collecting duplicate key values under dupkeys_as_arrayref in decode_hv.
With dupkeys_as_arrayref, the values of a duplicate object key are collected into a new array. An extra reference is never released, so the array and every value in it outlive the decoded structure. The array also leaks when decoding fails after a duplicate key.
Repeatedly decoding untrusted JSON with a duplicate key holding a large value exhausts process memory.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /rurban/Cpanel-JSON-XS/commit/edb13030a708afc2cde0d2629fb6b…
- metacpan.org /release/RURBAN/Cpanel-JSON-XS-4.80/changes
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning