typelevel http4s 输出中的特殊元素转义处理不恰当(注入)

admin 2023-11-30 19:41:11 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 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.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/http4s/http4s/commit/d02007db1da4f8f3df2dbf11f1db9ac7afc3f9d8
https://github.com/http4s/http4s/security/advisories/GHSA-5vcm-3xc3-w7x3
https://httpwg.org/http-core/draft-ietf-httpbis-semantics-latest.html
https://owasp.org/www-community/attacks/HTTP_Response_Splitting
受影响软件情况
# 类型 厂商 产品 版本 影响面
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 -
阿里云评分 4.1
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 管控权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-74 输出中的特殊元素转义处理不恰当(注入)
CWE-918 服务端请求伪造(SSRF)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  1