2023-06-05 18:00:29 +00:00

107 lines
3.7 KiB
JSON

{
"id": "CVE-2023-30571",
"sourceIdentifier": "cve@mitre.org",
"published": "2023-05-29T20:15:09.513",
"lastModified": "2023-06-05T16:40:57.930",
"vulnStatus": "Analyzed",
"descriptions": [
{
"lang": "en",
"value": "Libarchive through 3.6.2 can cause directories to have world-writable permissions. The umask() call inside archive_write_disk_posix.c changes the umask of the whole process for a very short period of time; a race condition with another thread can lead to a permanent umask 0 setting. Such a race condition could lead to implicit directory creation with permissions 0777 (without the sticky bit), which means that any low-privileged local user can delete and rename files inside those directories."
},
{
"lang": "es",
"value": "Libarchive hasta la versi\u00f3n 3.6.2 puede hacer que los directorios tengan permisos de escritura global. La llamada \"umask()\" dentro del archivo \"archive_write_disk_posix.c\" cambia la m\u00e1scara de usuario de todo el proceso durante un periodo de tiempo muy corto; una condici\u00f3n de carrera con otro hilo puede llevar a un ajuste permanente de la m\u00e1scara de usuario a 0. Tal condici\u00f3n de carrera podr\u00eda llevar a la creaci\u00f3n impl\u00edcita de directorios con permisos 0777, sin el bit adhesivo (\"sticky bit\"), lo que significa que cualquier usuario local con pocos privilegios puede borrar y renombrar archivos dentro de esos directorios. "
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H",
"attackVector": "LOCAL",
"attackComplexity": "HIGH",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"availabilityImpact": "HIGH",
"baseScore": 5.3,
"baseSeverity": "MEDIUM"
},
"exploitabilityScore": 1.0,
"impactScore": 4.2
},
{
"source": "cve@mitre.org",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N",
"attackVector": "LOCAL",
"attackComplexity": "HIGH",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE",
"baseScore": 3.9,
"baseSeverity": "LOW"
},
"exploitabilityScore": 0.8,
"impactScore": 2.7
}
]
},
"weaknesses": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-362"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*",
"versionEndIncluding": "3.6.2",
"matchCriteriaId": "3B32A1BB-6BB8-4D7F-ADCA-62727C4BA74E"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/libarchive/libarchive/issues/1876",
"source": "cve@mitre.org",
"tags": [
"Issue Tracking"
]
},
{
"url": "https://groups.google.com/g/libarchive-announce",
"source": "cve@mitre.org",
"tags": [
"Release Notes"
]
}
]
}