Heap-based Buffer Overflow Affecting vim-minimal package, versions <2:8.2.4314-1.amzn2.0.1
Snyk CVSS
Attack Complexity
Low
User Interaction
Required
Threat Intelligence
EPSS
0.08% (35th
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-AMZN2-VIMMINIMAL-2408127
- published 22 Feb 2022
- disclosed 10 Jan 2022
Introduced: 10 Jan 2022
CVE-2022-0158 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2
vim-minimal
to version 2:8.2.4314-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2022-1751
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream vim-minimal
package and not the vim-minimal
package as distributed by Amazon-Linux
.
See How to fix?
for Amazon-Linux:2
relevant fixed versions and status.
vim is vulnerable to Heap-based Buffer Overflow
References
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0158
- https://huntr.dev/bounties/ac5d7005-07c6-4a0a-b251-ba9cdbf6738b
- https://github.com/vim/vim/commit/5f25c3855071bd7e26255c68bf458b1b5cf92f39
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HD5S2FC2HF22A7XQXK2XXIR46EARVWIM/
- http://www.openwall.com/lists/oss-security/2022/01/15/1
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3FH2J57GDA2WMBS6J56F6QQRA6BXQQFZ/
- https://support.apple.com/kb/HT213183
- http://seclists.org/fulldisclosure/2022/Mar/29
- https://support.apple.com/kb/HT213344
- http://seclists.org/fulldisclosure/2022/Jul/13
- https://security.gentoo.org/glsa/202208-32
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3FH2J57GDA2WMBS6J56F6QQRA6BXQQFZ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HD5S2FC2HF22A7XQXK2XXIR46EARVWIM/