cnvd-2022-31940
Vulnerability from cnvd
Title
Django路径遍历漏洞(CNVD-2022-31940)
Description
Django是Django基金会的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。
Django存在路径遍历漏洞,该漏洞源于用户可以使用:mod:~django.contrib.admindocs TemplateDetailView 视图来检查任意文件的存在,如果默认admindocs模板已由开发人员自定义以公开文件内容,那么文件内容也将被公开。目前没有详细漏洞细节提供。
Severity
中
VLAI Severity ?
Patch Name
Django路径遍历漏洞(CNVD-2022-31940)的补丁
Patch Description
Django是Django基金会的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。
Django存在路径遍历漏洞,该漏洞源于用户可以使用:mod:~django.contrib.admindocs TemplateDetailView 视图来检查任意文件的存在,如果默认admindocs模板已由开发人员自定义以公开文件内容,那么文件内容也将被公开。目前没有详细漏洞细节提供。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description
目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://www.djangoproject.com/weblog/2021/jun/02/security-releases/。
Reference
https://nvd.nist.gov/vuln/detail/CVE-2021-33203
Impacted products
| Name | ['Django Django <2.2.24', 'Django Django >=3.0.0,<3.1.12', 'Django Django >=3.2.0,<3.2.4'] |
|---|
{
"cves": {
"cve": {
"cveNumber": "CVE-2021-33203",
"cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2021-33203"
}
},
"description": "Django\u662fDjango\u57fa\u91d1\u4f1a\u7684\u4e00\u5957\u57fa\u4e8ePython\u8bed\u8a00\u7684\u5f00\u6e90Web\u5e94\u7528\u6846\u67b6\u3002\u8be5\u6846\u67b6\u5305\u62ec\u9762\u5411\u5bf9\u8c61\u7684\u6620\u5c04\u5668\u3001\u89c6\u56fe\u7cfb\u7edf\u3001\u6a21\u677f\u7cfb\u7edf\u7b49\u3002\n\nDjango\u5b58\u5728\u8def\u5f84\u904d\u5386\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u7528\u6237\u53ef\u4ee5\u4f7f\u7528\uff1amod\uff1a~django.contrib.admindocs TemplateDetailView \u89c6\u56fe\u6765\u68c0\u67e5\u4efb\u610f\u6587\u4ef6\u7684\u5b58\u5728\uff0c\u5982\u679c\u9ed8\u8ba4admindocs\u6a21\u677f\u5df2\u7531\u5f00\u53d1\u4eba\u5458\u81ea\u5b9a\u4e49\u4ee5\u516c\u5f00\u6587\u4ef6\u5185\u5bb9\uff0c\u90a3\u4e48\u6587\u4ef6\u5185\u5bb9\u4e5f\u5c06\u88ab\u516c\u5f00\u3002\u76ee\u524d\u6ca1\u6709\u8be6\u7ec6\u6f0f\u6d1e\u7ec6\u8282\u63d0\u4f9b\u3002",
"formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u6f0f\u6d1e\uff0c\u8865\u4e01\u83b7\u53d6\u94fe\u63a5\uff1a\r\nhttps://www.djangoproject.com/weblog/2021/jun/02/security-releases/\u3002",
"isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
"number": "CNVD-2022-31940",
"openTime": "2022-04-24",
"patchDescription": "Django\u662fDjango\u57fa\u91d1\u4f1a\u7684\u4e00\u5957\u57fa\u4e8ePython\u8bed\u8a00\u7684\u5f00\u6e90Web\u5e94\u7528\u6846\u67b6\u3002\u8be5\u6846\u67b6\u5305\u62ec\u9762\u5411\u5bf9\u8c61\u7684\u6620\u5c04\u5668\u3001\u89c6\u56fe\u7cfb\u7edf\u3001\u6a21\u677f\u7cfb\u7edf\u7b49\u3002\r\n\r\nDjango\u5b58\u5728\u8def\u5f84\u904d\u5386\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u7528\u6237\u53ef\u4ee5\u4f7f\u7528\uff1amod\uff1a~django.contrib.admindocs TemplateDetailView \u89c6\u56fe\u6765\u68c0\u67e5\u4efb\u610f\u6587\u4ef6\u7684\u5b58\u5728\uff0c\u5982\u679c\u9ed8\u8ba4admindocs\u6a21\u677f\u5df2\u7531\u5f00\u53d1\u4eba\u5458\u81ea\u5b9a\u4e49\u4ee5\u516c\u5f00\u6587\u4ef6\u5185\u5bb9\uff0c\u90a3\u4e48\u6587\u4ef6\u5185\u5bb9\u4e5f\u5c06\u88ab\u516c\u5f00\u3002\u76ee\u524d\u6ca1\u6709\u8be6\u7ec6\u6f0f\u6d1e\u7ec6\u8282\u63d0\u4f9b\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
"patchName": "Django\u8def\u5f84\u904d\u5386\u6f0f\u6d1e\uff08CNVD-2022-31940\uff09\u7684\u8865\u4e01",
"products": {
"product": [
"Django Django \u003c2.2.24",
"Django Django \u003e=3.0.0\uff0c\u003c3.1.12",
"Django Django \u003e=3.2.0\uff0c\u003c3.2.4"
]
},
"referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2021-33203",
"serverity": "\u4e2d",
"submitTime": "2021-06-08",
"title": "Django\u8def\u5f84\u904d\u5386\u6f0f\u6d1e\uff08CNVD-2022-31940\uff09"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…