Vulnerability Details : CVE-2022-4141
Potential exploit
Heap based buffer overflow in vim/vim 9.0.0946 and below by allowing an attacker to CTRL-W gf in the expression used in the RHS of the substitute command.
Vulnerability category: OverflowMemory Corruption
Products affected by CVE-2022-4141
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
- cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-4141
0.02%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 3 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-4141
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.3
|
HIGH | CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
1.3
|
5.9
|
huntr.dev | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2022-4141
-
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().Assigned by: security@huntr.dev (Primary)
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Secondary)
References for CVE-2022-4141
-
https://huntr.dev/bounties/20ece512-c600-45ac-8a84-d0931e05541f
AddressSanitizer: heap-buffer-overflow in alloc.c 246:11 vulnerability found in vimExploit;Issue Tracking;Patch;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V6ZNKVN4GICORTVFKVCM4MSOXCYWNHUC/
[SECURITY] Fedora 36 Update: vim-9.0.1006-1.fc36 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2023/06/msg00015.html
[SECURITY] [DLA 3453-1] vim security update
-
https://github.com/vim/vim/commit/cc762a48d42b579fb7bdec2c614636b830342dd5
patch 9.0.0947: invalid memory access in substitute with function · vim/vim@cc762a4 · GitHubPatch;Third Party Advisory
-
https://security.gentoo.org/glsa/202305-16
Vim, gVim: Multiple Vulnerabilities (GLSA 202305-16) — Gentoo security
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AZ3JMSUCR6Y7626RDWQ2HNSUFIQOJ33G/
[SECURITY] Fedora 37 Update: vim-9.0.1006-1.fc37 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
Jump to