低危 hyper hyper http请求的解释不一致性(http请求私运)
CVE编号
CVE-2021-32715利用情况
暂无补丁情况
官方补丁披露时间
2021-07-08漏洞描述
hyper is an HTTP library for rust. hyper's HTTP/1 server code had a flaw that incorrectly parses and accepts requests with a `Content-Length` header with a prefixed plus sign, when it should have been rejected as illegal. This combined with an upstream HTTP proxy that doesn't parse such `Content-Length` headers, but forwards them, can result in "request smuggling" or "desync attacks". The flaw exists in all prior versions of hyper prior to 0.14.10, if built with `rustc` v1.5.0 or newer. The vulnerability is patched in hyper version 0.14.10. Two workarounds exist: One may reject requests manually that contain a plus sign prefix in the `Content-Length` header or ensure any upstream proxy handles `Content-Length` headers with a plus sign prefix.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/hyperium/hyper/security/advisories/GHSA-f3pg-qwvg-p99c | |
https://github.com/rust-lang/rust/pull/28826/commits/123a83326fb95366e94a3be1... |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | hyper | hyper | * | Up to (excluding) 0.14.10 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | rust-hyper | * | Up to (excluding) 0.14.19-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | rust-hyper | * | Up to (excluding) 0.14.19-1 |
- 攻击路径 远程
- 攻击复杂度 容易
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-444 | HTTP请求的解释不一致性(HTTP请求私运) |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论