在 Perl 中,Cpanel::JSON::XS 从 3.0202 版本到 4.80 版本(不含 4.80)存在内存泄漏问题:当在 中将值编码为字符串时,会保留已重载的对象。 在以下条件下会将值以其字符串形式写入:启用 ;对于没有 方法的对象启用 ;或启用 。对于具有 重载操作的数组或哈希对象(自 4.20 版本起还包括标量对象),该函数会创建一个额外的引用且永不释放,导致该对象及其所引用的所有内容都无法被释放。自 4.10 版本起,它甚至不会释放其持有的字符串副本。 反复编码包含此类值的数据会导致进程内存无限制
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 |
|---|---|---|---|---|
| - | - | 3.0202 ~ 4.80 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet