{ "id": "CVE-2023-48706", "sourceIdentifier": "security-advisories@github.com", "published": "2023-11-22T22:15:08.673", "lastModified": "2024-01-05T18:15:29.133", "vulnStatus": "Modified", "cveTags": [], "descriptions": [ { "lang": "en", "value": "Vim is a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnerability. When executing a `:s` command for the very first time and using a sub-replace-special atom inside the substitution part, it is possible that the recursive `:s` call causes free-ing of memory which may later then be accessed by the initial `:s` command. The user must intentionally execute the payload and the whole process is a bit tricky to do since it seems to work only reliably for the very first :s command. It may also cause a crash of Vim. Version 9.0.2121 contains a fix for this issue." }, { "lang": "es", "value": "Vim es un editor UNIX que, antes de la versi\u00f3n 9.0.2121, tiene una vulnerabilidad de heap-use-after-free. Al ejecutar un comando `:s` por primera vez y utilizar un \u00e1tomo subreemplazante especial dentro de la parte de sustituci\u00f3n, es posible que la llamada recursiva `:s` provoque la liberaci\u00f3n de memoria a la que luego se podr\u00e1 acceder por el comando inicial `:s`. El usuario debe ejecutar intencionalmente el payload y todo el proceso es un poco complicado de realizar ya que parece funcionar solo de manera confiable para el primer comando :s. Tambi\u00e9n puede provocar un bloqueo de Vim. La versi\u00f3n 9.0.2121 contiene una soluci\u00f3n para este problema." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH", "baseScore": 4.7, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 1.0, "impactScore": 3.6 }, { "source": "security-advisories@github.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW", "baseScore": 3.6, "baseSeverity": "LOW" }, "exploitabilityScore": 1.0, "impactScore": 2.5 } ] }, "weaknesses": [ { "source": "security-advisories@github.com", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-416" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*", "versionEndExcluding": "9.0.2121", "matchCriteriaId": "F978DA02-FB07-40A0-BD9E-CAC3945B4E2D" } ] } ] } ], "references": [ { "url": "http://www.openwall.com/lists/oss-security/2023/11/22/3", "source": "security-advisories@github.com", "tags": [ "Mailing List", "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/gandalf4a/crash_report/blob/main/vim/vim_huaf", "source": "security-advisories@github.com", "tags": [ "Exploit" ] }, { "url": "https://github.com/vim/vim/commit/26c11c56888d01e298cd8044caf860f3c26f57bb", "source": "security-advisories@github.com", "tags": [ "Patch" ] }, { "url": "https://github.com/vim/vim/pull/13552", "source": "security-advisories@github.com", "tags": [ "Issue Tracking", "Patch" ] }, { "url": "https://github.com/vim/vim/security/advisories/GHSA-c8qm-x72m-q53q", "source": "security-advisories@github.com", "tags": [ "Exploit", "Vendor Advisory" ] }, { "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DNMFS3IH74KEMMESOA3EOB6MZ56TWGFF/", "source": "security-advisories@github.com" }, { "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IVA7K73WHQH4KVFDJQ7ELIUD2WK5ZT5E/", "source": "security-advisories@github.com" }, { "url": "https://security.netapp.com/advisory/ntap-20240105-0001/", "source": "security-advisories@github.com" } ] }