cvelist/2021/21xxx/CVE-2021-21706.json
2021-10-29 13:00:57 +00:00

115 lines
4.0 KiB
JSON

{
"CVE_data_meta": {
"ASSIGNER": "security@php.net",
"DATE_PUBLIC": "2021-09-21T11:32:00.000Z",
"ID": "CVE-2021-21706",
"STATE": "PUBLIC",
"TITLE": "ZipArchive::extractTo may extract outside of destination dir"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "PHP",
"version": {
"version_data": [
{
"platform": "Windows",
"version_affected": "<",
"version_name": "7.3.x",
"version_value": "7.3.31"
},
{
"platform": "Windows",
"version_affected": "<",
"version_name": "7.4.x",
"version_value": "7.4.24"
},
{
"platform": "Windows",
"version_affected": "<",
"version_name": "8.0.X",
"version_value": "8.0.11"
}
]
}
}
]
},
"vendor_name": "PHP Group"
}
]
}
},
"credit": [
{
"lang": "eng",
"value": "reported by vi at hackberry dot xyz"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "In PHP versions 7.3.x below 7.3.31, 7.4.x below 7.4.24 and 8.0.x below 8.0.11, in Microsoft Windows environment, ZipArchive::extractTo may be tricked into writing a file outside target directory when extracting a ZIP file, thus potentially causing files to be created or overwritten, subject to OS permissions."
}
]
},
"generator": {
"engine": "Vulnogram 0.0.9"
},
"impact": {
"cvss": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE-24 Path Traversal: '../filedir'"
}
]
}
]
},
"references": {
"reference_data": [
{
"refsource": "MISC",
"url": "https://bugs.php.net/bug.php?id=81420",
"name": "https://bugs.php.net/bug.php?id=81420"
},
{
"refsource": "CONFIRM",
"name": "https://security.netapp.com/advisory/ntap-20211029-0007/",
"url": "https://security.netapp.com/advisory/ntap-20211029-0007/"
}
]
},
"source": {
"defect": [
"https://bugs.php.net/bug.php?id=81420"
],
"discovery": "EXTERNAL"
}
}