Perl 的 Net::Server::HTTP 2.018 及更早版本,允许单个请求通过客户端的 Content-Length(被当作 exec_cgi 中 read 的大小)导致 worker 因内存不足而中止。 exec_cgi 用 read() 调用将请求体转发给 CGI 脚本,调用大小由 Content-Length 头决定。Perl 会先把缓冲区扩展到该大小再读取,因此声明了巨大长度的请求会导致 worker 异常中止并报内存不足错误,且任何 eval 都无法捕获该错误。 同一个循环也不会把 read(
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 ~ 2.018 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC