Perl 环境下的 Cpanel::JSON::XS 版本从 4.43 到 4.80(不含 4.80)在 utf16_cmp 进行规范化编码时,会对字节字符串键进行错误的排序。 规范化过程按 UTF-16 码单元对键进行排序。当哈希中的任一键被标记为 UTF-8 时,所有键在比较时均会被解码为 UTF-8,包括那些编码器以 Latin-1 字符形式输出的字节字符串键。若某字节字符串键的字节本身构成有效的 UTF-8,则其排序顺序会出现错误;此外,两个编码方式不同的键可能被判定为相等,从而保留在哈希原有的顺序中。 这
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| - | - | 4.43 ~ 4.80 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet