djangoproject django 目录遍历漏洞

admin 2023-12-01 14:20:52 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 djangoproject django 目录遍历漏洞

CVE编号

CVE-2021-31542

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-06-04
漏洞描述
Django是Django基金会的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。 Django 2.2.21之前的2.2版本、3.1.9之前的3.1版本和3.2.1之前的3.2版本存在目录遍历漏洞。该漏洞源于程序在通过MultiPartParser、UploadedFile和FieldFile上传文件时未对文件进行适当验证。攻击者可利用该漏洞通过上传带有特制文件名的文件在意外目录中创建或重写文件。 受影响系统: Django Django >= 3.2 Django Django >= 3.1 Django Django >= 2.2 Django Django < 3.2.1 Django Django < 3.1.9 Django Django < 2.2.21
解决建议
目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载:https://ubuntu.com/security/notices/USN-4932-1?_ga=2.256534536.2023876064.1620270652-2089915127.1616
参考链接
http://www.openwall.com/lists/oss-security/2021/05/04/3
https://docs.djangoproject.com/en/3.2/releases/security/
https://groups.google.com/forum/
https://lists.debian.org/debian-lts-announce/2021/05/msg00005.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://security.netapp.com/advisory/ntap-20210618-0001/
https://www.djangoproject.com/weblog/2021/may/04/security-releases/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 djangoproject django * From (including) 2.2 Up to (excluding) 2.2.21
运行在以下环境
应用 djangoproject django * From (including) 3.1 Up to (excluding) 3.1.9
运行在以下环境
应用 djangoproject django * From (including) 3.2 Up to (excluding) 3.2.1
运行在以下环境
系统 debian_10 python-django * Up to (including) 1.11.29-1~deb10u1
运行在以下环境
系统 debian_11 python-django * Up to (excluding) 2:2.2.21-1
运行在以下环境
系统 debian_12 python-django * Up to (excluding) 2:2.2.21-1
运行在以下环境
系统 debian_9 python-django * Up to (excluding) 1:1.10.7-2+deb9u13
运行在以下环境
系统 debian_sid python-django * Up to (excluding) 2:2.2.21-1
运行在以下环境
系统 fedora_34 python3-django * Up to (excluding) 3.1.9-1.fc34
运行在以下环境
系统 fedora_35 python3-django * Up to (excluding) 3.2.12-1.fc35
运行在以下环境
系统 fedora_36 python3-django * Up to (excluding) 4.0.2-1.fc36
运行在以下环境
系统 fedora_38 python3-django3-doc * Up to (excluding) 3.2.15-1.fc38
运行在以下环境
系统 oracle_8 oraclelinux-release * Up to (excluding) 1.0.2-1.el8
运行在以下环境
系统 ubuntu_18.04 python-django * Up to (excluding) 1:1.11.11-1ubuntu1.13
运行在以下环境
系统 ubuntu_18.04.5_lts python-django * Up to (excluding) 1:1.11.11-1ubuntu1.13
运行在以下环境
系统 ubuntu_20.04 python-django * Up to (excluding) 2:2.2.12-1ubuntu0.6
运行在以下环境
系统 ubuntu_21.04 python-django * Up to (excluding) 2:2.2.20-1ubuntu0.1
运行在以下环境
系统 ubuntu_21.10 python-django * Up to (excluding) 2:2.2.20-1ubuntu0.1
运行在以下环境
系统 ubuntu_22.04 python-django * Up to (excluding) 2:2.2.20-1ubuntu0.1
阿里云评分 5.9
  • 攻击路径 远程
  • 攻击复杂度 容易
  • 权限要求 无需权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 数据泄露
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-22 对路径名的限制不恰当(路径遍历)
CWE-434 危险类型文件的不加限制上传
- 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