{ "id": "CVE-2021-38185", "sourceIdentifier": "cve@mitre.org", "published": "2021-08-08T00:15:07.027", "lastModified": "2021-08-16T15:35:23.933", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "GNU cpio through 2.13 allows attackers to execute arbitrary code via a crafted pattern file, because of a dstring.c ds_fgetstr integer overflow that triggers an out-of-bounds heap write. NOTE: it is unclear whether there are common cases where the pattern file, associated with the -E option, is untrusted data." }, { "lang": "es", "value": "GNU cpio versiones hasta 2.13, permite a atacantes ejecutar c\u00f3digo arbitrario por medio de un archivo de patrones dise\u00f1ado, debido a un desbordamiento de enteros en el archivo dstring.c en la funci\u00f3n ds_fgetstr que desencadena una escritura de pila fuera de l\u00edmites. NOTA: no est\u00e1 claro si hay casos comunes en los que el archivo de patrones, asociado con la opci\u00f3n -E, son datos no confiables" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH" }, "exploitabilityScore": 1.8, "impactScore": 5.9 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 6.8 }, "baseSeverity": "MEDIUM", "exploitabilityScore": 8.6, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": true } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-190" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:gnu:cpio:*:*:*:*:*:*:*:*", "versionEndIncluding": "2.13", "matchCriteriaId": "0A33B0EB-9D43-46C7-8F49-7BC8B11E83E4" } ] } ] } ], "references": [ { "url": "https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=dd96882877721703e19272fe25034560b794061b", "source": "cve@mitre.org", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/fangqyi/cpiopwn", "source": "cve@mitre.org", "tags": [ "Exploit", "Third Party Advisory" ] }, { "url": "https://lists.gnu.org/archive/html/bug-cpio/2021-08/msg00000.html", "source": "cve@mitre.org", "tags": [ "Exploit", "Mailing List", "Vendor Advisory" ] }, { "url": "https://lists.gnu.org/archive/html/bug-cpio/2021-08/msg00002.html", "source": "cve@mitre.org", "tags": [ "Exploit", "Mailing List", "Vendor Advisory" ] } ] }