中危 typelevel http4s 输出中的特殊元素转义处理不恰当(注入)
CVE编号
CVE-2021-41084利用情况
暂无补丁情况
官方补丁披露时间
2021-09-22漏洞描述
http4s is an open source scala interface for HTTP. In affected versions http4s is vulnerable to response-splitting or request-splitting attacks when untrusted user input is used to create any of the following fields: Header names (`Header.name`å), Header values (`Header.value`), Status reason phrases (`Status.reason`), URI paths (`Uri.Path`), URI authority registered names (`URI.RegName`) (through 0.21). This issue has been resolved in versions 0.21.30, 0.22.5, 0.23.4, and 1.0.0-M27 perform the following. As a matter of practice http4s services and client applications should sanitize any user input in the aforementioned fields before returning a request or response to the backend. The carriage return, newline, and null characters are the most threatening.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | typelevel | http4s | * | Up to (excluding) 0.21.29 | |||||
运行在以下环境 | |||||||||
应用 | typelevel | http4s | * | From (including) 0.22.0 | Up to (excluding) 0.22.5 | ||||
运行在以下环境 | |||||||||
应用 | typelevel | http4s | * | From (including) 0.23.0 | Up to (excluding) 0.23.4 | ||||
运行在以下环境 | |||||||||
应用 | typelevel | http4s | 1.0.0 | - |
- 攻击路径 本地
- 攻击复杂度 困难
- 权限要求 管控权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-74 | 输出中的特殊元素转义处理不恰当(注入) |
CWE-918 | 服务端请求伪造(SSRF) |
Exp相关链接

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