Vim code execution | CVE-2022-2126
NAME
Vim code execution
- Platforms Affected:
Vim Vim 8.2.5122 - 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 an out-of-bounds read in the suggest_trie_walk function in spellsuggest.c:1437. 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/8d196d9b-3d10-41d2-9f70-8ef0d08c946e/ - Reference Link:
https://github.com/vim/vim/commit/156d3911952d73b03d7420dc3540215247db0fe8
If you like the site, please consider joining the telegram channel and supporting us on Patreon using the button below.