Perl 上的 Cpanel::JSON::XS 4.80 之前版本存在内存耗尽漏洞:在 函数中,若增量输入数据超过设定的 限制,攻击者可通过缓冲机制耗尽内存。 该解析器会将每个数据块追加到其缓冲区中。在标量或列表上下文中,它仅将 与解析进度进行比较,而非与缓冲区的实际长度比较。若某个数据块以 NUL 字节开头,解析器会在推进进度前停止解析;而在空上下文(void context)中调用时,该检查会被跳过,导致缓冲区无限制增长。 因此,任何向 消费者流式传输数据的对等方,均可无视 限制,耗尽目标进程的内存资源。
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 |
|---|---|---|---|---|
| - | - | 0 ~ 4.80 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet