Out-of-bounds Write Affecting vim/vim package, versions [,8.2.4977)
Snyk CVSS
Attack Complexity
Low
Availability
High
Threat Intelligence
EPSS
0.05% (19th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-UNMANAGED-VIMVIM-2840633
- published 20 May 2022
- disclosed 19 May 2022
- credit TDHX ICS Security
Introduced: 19 May 2022
CVE-2022-1785 Open this link in a new tabHow to fix?
Upgrade vim/vim
to version 8.2.4977 or higher.
Overview
Affected versions of this package are vulnerable to Out-of-bounds Write in the vim_regsub_both
function.
PoC
./vim -u NONE -i NONE -n -m -X -Z -e -s -S /mnt/share/max/fuzz/poc/vim/poc_obw_s.dat -c :qa!