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.51 before 4.80 for Perl allow quadratic CPU use by revalidating the remaining buffer per value in incr_parse.
At the first non-ASCII byte in a string, the decoder validates UTF-8 from there to the end of its input. incr_parse decodes each buffered value with a fresh decoder, so every value revalidates the rest of the buffer, and doubling the input quadruples the work.
A peer that sends about a megabyte of ordinary non-ASCII JSON in one read ties up the process for seconds of CPU time.
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/384309f6a297384e69c851b5d64e1…
- 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