Cpanel::JSON::XS versions before 4.80 for Perl allow stack exhaustion via nested tagged values under allow_tags in decode_tag. With allow_tags, "(" st...
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 allow stack exhaustion via nested tagged values under allow_tags in decode_tag. With allow_tags, "(" starts a tagged value. Its tag and value are decoded recursively, and each can start another tagged value. Unlike arrays and objects, this nesting is not counted against max_depth. A run of "(" bytes exhausts the C stack and triggers an uncatchable segmentation fault regardless of max_depth.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org