typelevel http4s 对路径名的限制不恰当(路径遍历)

admin 2023-12-01 14:25:56 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 typelevel http4s 对路径名的限制不恰当(路径遍历)

CVE编号

CVE-2021-32643

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-05-28
漏洞描述
StaticFile.fromUrl can leak the presence of a directory on a server when the URL scheme is not file://, and the URL points to a fetchable resource under its scheme and authority. The function returns F[None], indicating no resource, if url.getFile is a directory, without first checking the scheme or authority of the URL. If a URL connection to the scheme and URL would return a stream, and the path in the URL exists as a directory on the server, the presence of the directory on the server could be inferred from the 404 response. The contents and other metadata about the directory are not exposed.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/http4s/http4s/commit/52e1890665410b4385e37b96bc49c5e3c708e4e9
https://github.com/http4s/http4s/security/advisories/GHSA-6h7w-fc84-x7p6
https://mvnrepository.com/artifact/org.http4s/http4s-core
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 typelevel http4s * From (including) 0.21.7 Up to (excluding) 0.21.24
运行在以下环境
应用 typelevel http4s 0.22.0 -
运行在以下环境
应用 typelevel http4s 0.23.0 -
运行在以下环境
应用 typelevel http4s 1.0.0 -
阿里云评分 5.3
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 管控权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-22 对路径名的限制不恰当(路径遍历)
- 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   参与:  0