Vim code execution | CVE-2022-2124
NAME
Vim code execution
- Platforms Affected:
Vim Vim 8.2.5119 - Risk Level:
7.8 - Exploitability:
Proof of Concept - Consequences:
Gain Access
DESCRIPTION
Vim could allow a remote attacker to execute arbitrary code on the system, caused by a buffer over-read in the current_quote function in textobject.c:1801. By persuading a victim to open a specially-crafted file, an attacker could exploit this vulnerability to execute arbitrary code on the system or cause a denial of service.
CVSS 3.0 Information
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Access Vector: Local
- Access Complexity: Low
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
- Remediation Level: Official Fix
MITIGATION
Refer to the Vim GIT Repository for patch, upgrade or suggested workaround information. See References.
- Reference Link:
https://huntr.dev/bounties/8e9e056d-f733-4540-98b6-414bf36e0b42/ - Reference Link:
https://github.com/vim/vim/commit/2f074f4685897ab7212e25931eeeb0212292829f
If you like the site, please consider joining the telegram channel and supporting us on Patreon using the button below.