在 Perl 中,HTTP::Body 模块 1.24_02 版本之前的版本在解析 trailer(尾部)时存在二次时间复杂度问题。 在一次 调用中,最后一个数据块之后的所有内容都会通过 HTTP::Headers 模块进行解析,而该解析过程的时间复杂度与同一名称的字段数量呈二次关系。例如,解析 16 KiB 的"a:"行可能需要数秒时间。 远程攻击者仅通过单次请求即可耗尽目标系统的 CPU 资源。 HTTP::Body 1.25 版本已对 trailer 中的行数和总大小施加了限制,从而修复了该问题。
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.24_02 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC