Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded key of an object rejected for a duplicate key or a missing colon in decode_hv. A quote...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSlibcpanel-json-xs-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlibcpanel-json-xs-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlibcpanel-json-xs-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibcpanel-json-xs-perl |
< 4.27-1ubuntu0.3→ 4.27-1ubuntu0.3 |
4.27-1ubuntu0.3 |
| Ubuntu:24.04:LTSlibcpanel-json-xs-perl |
< 4.37-1ubuntu0.2→ 4.37-1ubuntu0.2 |
4.37-1ubuntu0.2 |
| Ubuntu:26.10libcpanel-json-xs-perl |
< 4.42-1ubuntu0.1→ 4.42-1ubuntu0.1 |
4.42-1ubuntu0.1 |
| Ubuntu:26.04:LTSlibcpanel-json-xs-perl |
< 4.40-1ubuntu0.1→ 4.40-1ubuntu0.1 |
4.40-1ubuntu0.1 |
| Ubuntu:Pro:16.04:LTSlibcpanel-json-xs-perl |
< 3.0210-1ubuntu1+esm1→ 3.0210-1ubuntu1+esm1 |
3.0210-1ubuntu1+esm1 |
| Ubuntu:Pro:18.04:LTSlibcpanel-json-xs-perl |
< 3.0239-1ubuntu0.1~esm1→ 3.0239-1ubuntu0.1~esm1 |
3.0239-1ubuntu0.1~esm1 |
| Ubuntu:Pro:20.04:LTSlibcpanel-json-xs-perl |
< 4.19-1ubuntu0.1+esm1→ 4.19-1ubuntu0.1+esm1 |
4.19-1ubuntu0.1+esm1 |
Original description The description as published by the source.
Cpanel::JSON::XS versions before 4.80 for Perl leak the decoded key of an object rejected for a duplicate key or a missing colon in decode_hv. A quoted key of 24 or more bytes, or one containing a non-ASCII byte or an escape sequence, is decoded into a new scalar. Nothing frees that scalar when the object is rejected for a missing ':' after the key or, from 4.09, for a duplicate key. Duplicate keys are an error unless allow_dupkeys, dupkeys_as_arrayref or relaxed is set. A process that keeps running after a failed decode retains one key per rejected document, with its size chosen by the sender. Repeated requests exhaust process memory.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org