body-parser 是用于 Node.js 和 Express 的请求体解析中间件。在 1.20.9 之前的版本,以及 2.0.0 至 2.4.0 之间的版本中,单个请求即可导致任何使用 body-parser 默认配置的应用程序崩溃。当请求携带如 gzip 之类的 Content-Encoding 头时,body-parser 会将其内容管道传输至一个解压缩流;在读取完请求体后,该解压缩流未设置错误监听器。若攻击者发送一个由“一个有效的压缩帧 + 后续尾随字节”组成的载荷,body-parser 会先正常解码
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| body-parser | body-parser | 2.0.0< 2.4.0 |
affected |
2.4.0 |
unaffected | ||
< 1.20.9 |
affected | ||
1.20.9 |
unaffected |
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 |
|---|---|---|---|---|
| body-parser | body-parser | 2.0.0 ~ 2.4.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet