CVE-2021-4187
HIGHCVSS 7.8/10EPSS 1.63%
Last modified
CVE-2021-4187 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. vim is vulnerable to Use After Free. EPSS estimates a 1.63% chance of exploitation in the next 30 days.
Description
vim is vulnerable to Use After Free
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Vim | Vim | <= 8.2.3912 | — |
| Fedoraproject | Fedora | 34 | — |
| Fedoraproject | Fedora | 35 | — |
| Apple | Mac Os X | 10.15.7 | — |
| Apple | Macos | < 12.3 | — |
| Apple | Macos | >= 11.0, < 11.6.6 | — |
| Apple | Macos | 10.15.7 | Security Update 2022-004 |
References
- http://seclists.org/fulldisclosure/2022/Jul/14Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Mar/29Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/May/35Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/01/15/1Mailing List, Third Party Advisory
- https://github.com/vim/vim/commit/4bf1006cae7e87259ccd5219128c3dba75774441Patch, Third Party Advisory
- https://huntr.dev/bounties/a8bee03a-6e2e-43bf-bee3-4968c5386a2eExploit, Third Party Advisory
- https://security.gentoo.org/glsa/202208-32Third Party Advisory
- https://support.apple.com/kb/HT213183Release Notes, Third Party Advisory
- https://support.apple.com/kb/HT213256Third Party Advisory
- https://support.apple.com/kb/HT213343Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Jul/14Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/Mar/29Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2022/May/35Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/01/15/1Mailing List, Third Party Advisory
- https://github.com/vim/vim/commit/4bf1006cae7e87259ccd5219128c3dba75774441Patch, Third Party Advisory
- https://huntr.dev/bounties/a8bee03a-6e2e-43bf-bee3-4968c5386a2eExploit, Third Party Advisory
- https://security.gentoo.org/glsa/202208-32Third Party Advisory
- https://support.apple.com/kb/HT213183Release Notes, Third Party Advisory
- https://support.apple.com/kb/HT213256Third Party Advisory
- https://support.apple.com/kb/HT213343Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-4187?
vim is vulnerable to Use After Free
How severe is CVE-2021-4187?
CVE-2021-4187 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 1.63% probability of exploitation in the next 30 days.
How do I fix CVE-2021-4187?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41864prealloc_elems_and_freelist in kernel/bpf/stackmap.c in the …7.8
- CVE-2021-41865HashiCorp Nomad and Nomad Enterprise 1.1.1 through 1.1.5 all…6.5
- CVE-2021-41866MyBB before 1.8.28 allows stored XSS because the displayed T…5.4
- CVE-2021-41867An information disclosure vulnerability in OnionShare 2.3 be…5.3
- CVE-2021-41868OnionShare 2.3 before 2.4 allows remote unauthenticated atta…9.8
- CVE-2021-41869SuiteCRM 7.10.x before 7.10.33 and 7.11.x before 7.11.22 is …8.8
- CVE-2021-41870An issue was discovered in the firmware update form in Socom…8.8
- CVE-2021-41871An issue was discovered in Socomec REMOTE VIEW PRO 2.0.41.4.…5.4
- CVE-2021-41872Skyworth Digital Technology Penguin Aurora Box 41502 has a d…7.5
- CVE-2021-41873Penguin Aurora TV Box 41502 is a high-end network HD set-top…10
- CVE-2021-41874Rejected reason: DO NOT USE THIS CVE RECORD. ConsultIDs: non…
- CVE-2021-41878A reflected cross-site scripting (XSS) vulnerability exists …6.1
Are you affected by CVE-2021-4187?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
