在 Perl 中,Text::CSV_XS 1.65 之前的版本存在内存耗尽漏洞。该漏洞源于在处理 RFC 7111 选择器(selector)的片段(fragment)时,会为每个索引预先分配一个条目。 具体而言, 函数在读取任何数据之前,就会将 或 选择器扩展为一个数组,其中每个被选中的索引对应一个元素;同时,它不会将 选择器中显式指定的结束列限制在当前行的范围内。该函数仅验证选择器范围语法的正确性和顺序,因此,即使文件仅有两行,使用 这样的选择器也会预先分配 4 亿个元素。 若应用程序将来自请求的片段直接传递
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 ~ 1.65 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet