Vulnerability Name:

CVE-2022-0351 (CCN-218102)

Assigned:2022-01-23
Published:2022-01-23
Updated:2022-11-09
Summary:Access of Memory Location Before Start of Buffer in GitHub repository vim/vim prior to 8.2.
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
7.0 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
8.4 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.6 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:4.6 Medium (CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.2 High (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-119
CWE-786
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2022-0351

Source: FULLDISC
Type: Mailing List, Third Party Advisory
20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13

Source: FULLDISC
Type: Mailing List, Third Party Advisory
20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13

Source: FULLDISC
Type: Mailing List, Third Party Advisory
20221030 APPLE-SA-2022-10-27-7 Additional information for APPLE-SA-2022-09-12-4 macOS Monterey 12.6

Source: XF
Type: UNKNOWN
vim-cve20220351-code-exec(218102)

Source: CCN
Type: vim GIT Repository
patch 8.2.4206: condition with many "(" causes a crash

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/vim/vim/commit/fe6fb267e6ee5c5da2f41889e4e0e0ac5bf4b89d

Source: CONFIRM
Type: Exploit, Third Party Advisory
https://huntr.dev/bounties/8b36db58-b65c-4298-be7f-40b9e37fd161

Source: CCN
Type: huntr Web site
Access of Memory Location Before Start of Buffer in vim/vim

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20220516 [SECURITY] [DLA 3011-1] vim security update

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20221108 [SECURITY] [DLA 3182-1] vim security update

Source: GENTOO
Type: Third Party Advisory
GLSA-202208-32

Source: CONFIRM
Type: Vendor Advisory
https://support.apple.com/kb/HT213444

Source: CONFIRM
Type: Vendor Advisory
https://support.apple.com/kb/HT213488

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2022-0351

Vulnerable Configuration:Configuration 1:
  • cpe:/a:vim:vim:*:*:*:*:*:*:*:* (Version < 8.2)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:apple:macos:*:*:*:*:*:*:*:* (Version < 12.6)

  • Configuration CCN 1:
  • cpe:/a:vim:vim:8.1.2135:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:7825
    P
    vim-9.0.1443-150500.18.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:7902
    P
    gvim-9.0.1443-150500.18.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:3616
    P
    libjpeg62-32bit-62.2.0-31.14.2 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:3677
    P
    libspice-client-glib-2_0-8-0.33-3.6.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:3218
    P
    libnghttp2-14-1.7.1-1.84 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:3284
    P
    libwireshark9-2.4.16-48.51.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:94848
    P
    vim-8.0.1568-5.17.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:94914
    P
    gvim-8.0.1568-5.17.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:93143
    P
    (Important)
    2022-06-16
    oval:org.opensuse.security:def:528
    P
    Security update for vim (Important)
    2022-06-16
    oval:org.opensuse.security:def:119231
    P
    Security update for vim (Important)
    2022-06-16
    oval:org.opensuse.security:def:95246
    P
    Security update for vim (Important)
    2022-06-16
    oval:org.opensuse.security:def:93461
    P
    (Important)
    2022-06-16
    oval:org.opensuse.security:def:119606
    P
    Security update for vim (Important)
    2022-06-16
    oval:org.opensuse.security:def:118926
    P
    Security update for vim (Important)
    2022-06-16
    oval:org.opensuse.security:def:93821
    P
    (Important)
    2022-06-16
    oval:org.opensuse.security:def:917
    P
    Security update for vim (Important)
    2022-06-16
    oval:org.opensuse.security:def:95307
    P
    Security update for vim (Important)
    2022-06-16
    oval:org.opensuse.security:def:94247
    P
    (Important)
    2022-06-16
    oval:org.opensuse.security:def:42398
    P
    Security update for vim (Important)
    2022-06-16
    oval:org.opensuse.security:def:93303
    P
    (Important)
    2022-06-16
    oval:org.opensuse.security:def:119421
    P
    Security update for vim (Important)
    2022-06-16
    oval:org.opensuse.security:def:118736
    P
    Security update for vim (Important)
    2022-06-16
    oval:org.opensuse.security:def:93615
    P
    (Important)
    2022-06-16
    oval:org.opensuse.security:def:94035
    P
    (Important)
    2022-06-16
    oval:org.opensuse.security:def:42302
    P
    Security update for vim (Important)
    2022-06-16
    oval:org.opensuse.security:def:1076
    P
    Security update for vim (Important)
    2022-06-16
    oval:org.opensuse.security:def:94456
    P
    (Important)
    2022-06-16
    oval:org.opensuse.security:def:378
    P
    vim-8.0.1568-5.17.1 on GA media (Moderate)
    2022-06-10
    oval:org.opensuse.security:def:42433
    P
    Security update for vim (Important)
    2022-04-19
    oval:org.opensuse.security:def:101769
    P
    Security update for vim (Important)
    2022-03-04
    oval:org.opensuse.security:def:99220
    P
    (Important)
    2022-03-04
    oval:org.opensuse.security:def:94059
    P
    (Important)
    2022-03-04
    oval:org.opensuse.security:def:42351
    P
    Security update for vim (Important)
    2022-03-04
    oval:org.opensuse.security:def:1091
    P
    Security update for vim (Important)
    2022-03-04
    oval:org.opensuse.security:def:100427
    P
    (Important)
    2022-03-04
    oval:org.opensuse.security:def:94480
    P
    (Important)
    2022-03-04
    oval:org.opensuse.security:def:93167
    P
    (Important)
    2022-03-04
    oval:org.opensuse.security:def:119330
    P
    Security update for vim (Important)
    2022-03-04
    oval:org.opensuse.security:def:99494
    P
    (Important)
    2022-03-04
    oval:org.opensuse.security:def:93485
    P
    (Important)
    2022-03-04
    oval:org.opensuse.security:def:119698
    P
    Security update for vim (Important)
    2022-03-04
    oval:org.opensuse.security:def:119025
    P
    Security update for vim (Important)
    2022-03-04
    oval:org.opensuse.security:def:100761
    P
    (Important)
    2022-03-04
    oval:org.opensuse.security:def:93847
    P
    (Important)
    2022-03-04
    oval:org.opensuse.security:def:42208
    P
    Security update for vim (Important)
    2022-03-04
    oval:org.opensuse.security:def:962
    P
    Security update for vim (Important)
    2022-03-04
    oval:org.opensuse.security:def:99756
    P
    (Important)
    2022-03-04
    oval:org.opensuse.security:def:94273
    P
    (Important)
    2022-03-04
    oval:org.opensuse.security:def:119136
    P
    Security update for vim (Important)
    2022-03-04
    oval:org.opensuse.security:def:101654
    P
    Security update for vim (Important)
    2022-03-04
    oval:org.opensuse.security:def:93325
    P
    (Important)
    2022-03-04
    oval:org.opensuse.security:def:119513
    P
    Security update for vim (Important)
    2022-03-04
    oval:org.opensuse.security:def:118835
    P
    Security update for vim (Important)
    2022-03-04
    oval:org.opensuse.security:def:100089
    P
    (Important)
    2022-03-04
    oval:org.opensuse.security:def:93636
    P
    (Important)
    2022-03-04
    BACK
    vim vim *
    debian debian linux 9.0
    debian debian linux 10.0
    apple macos *
    vim vim 8.1.2135