Vulnerability Name:

CVE-2021-3974 (CCN-213777)

Assigned:2021-10-24
Published:2021-10-24
Updated:2022-11-09
Summary:vim is vulnerable to Use After Free
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
7.0 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H)
6.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/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): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
6.4 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:P/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-416
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2021-3974

Source: MLIST
Type: Mailing List, Third Party Advisory
[oss-security] 20220114 Re: 3 new CVE's in vim

Source: XF
Type: UNKNOWN
vim-cve20213974-dos(213777)

Source: CCN
Type: Vim GIT Repository
vim

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

Source: CONFIRM
Type: Exploit, Issue Tracking, Patch, Third Party Advisory
https://huntr.dev/bounties/e402cb2c-8ec4-4828-a692-c95f8e0de6d4

Source: CCN
Type: huntr Web site
Use After Free in vim/vim

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

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

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-b0ac29efb1

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-5cd9df120e

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

Source: CCN
Type: Vim Web site
Vim

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

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:35:*:*:*:*:*:*:*

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

  • Configuration CCN 1:
  • cpe:/a:vim:vim:6.0:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:6.3:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:6.4:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.1.298:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.2a.013:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:5.0:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.0:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.1:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.2:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.2c.002:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:3.0:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:4.0:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:5.1:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:5.2:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:5.3:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:5.4:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:5.5:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:5.6:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:5.7:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:5.8:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:6.2:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.1.314:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.1.300:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.1.299:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.2a.10:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.033:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.032:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.031:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.030:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.029:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.027:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.028:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.026:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.025:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.024:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.023:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.022:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.021:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.020:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.019:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.018:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.017:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.016:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.015:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.014:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.013:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.012:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.011:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:7.3.010:*:*:*:*:*:*:*
  • OR cpe:/a:vim:gvim:7.3.09:*:*:*:*:*:*:*
  • OR cpe:/a:vim:gvim:7.3.08:*:*:*:*:*:*:*
  • OR cpe:/a:vim:gvim:7.3.07:*:*:*:*:*:*:*
  • OR cpe:/a:vim:gvim:7.3.06:*:*:*:*:*:*:*
  • OR cpe:/a:vim:gvim:7.3.05:*:*:*:*:*:*:*
  • OR cpe:/a:vim:gvim:7.3.04:*:*:*:*:*:*:*
  • OR cpe:/a:vim:gvim:7.3.03:*:*:*:*:*:*:*
  • OR cpe:/a:vim:gvim:7.3.02:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.0.0055:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.0.0377:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.0.0376:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.0:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.0.1187:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.1.2135:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.2.3401:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.2.3425:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.2.3486:*:*:*:*:*:*:*

  • * 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:528
    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:93303
    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:119231
    P
    Security update for vim (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:95307
    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:1076
    P
    Security update for vim (Important)
    2022-06-16
    oval:org.opensuse.security:def:119421
    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: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:119606
    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:93143
    P
    (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
    BACK
    vim vim *
    fedoraproject fedora 34
    fedoraproject fedora 35
    debian debian linux 9.0
    debian debian linux 10.0
    vim vim 6.0
    vim vim 6.3
    vim vim 6.4
    vim vim 7.1.298
    vim vim 7.2a.013
    vim vim 5.0
    vim vim 7.0
    vim vim 7.1
    vim vim 7.2
    vim vim 7.2c.002
    vim vim 3.0
    vim vim 4.0
    vim vim 5.1
    vim vim 5.2
    vim vim 5.3
    vim vim 5.4
    vim vim 5.5
    vim vim 5.6
    vim vim 5.7
    vim vim 5.8
    vim vim 6.2
    vim vim 7.1.314
    vim vim 7.1.300
    vim vim 7.1.299
    vim vim 7.2a.10
    vim vim 7.3.033
    vim vim 7.3.032
    vim vim 7.3.031
    vim vim 7.3.030
    vim vim 7.3.029
    vim vim 7.3.027
    vim vim 7.3.028
    vim vim 7.3.026
    vim vim 7.3.025
    vim vim 7.3.024
    vim vim 7.3.023
    vim vim 7.3.022
    vim vim 7.3.021
    vim vim 7.3.020
    vim vim 7.3.019
    vim vim 7.3.018
    vim vim 7.3.017
    vim vim 7.3.016
    vim vim 7.3.015
    vim vim 7.3.014
    vim vim 7.3.013
    vim vim 7.3.012
    vim vim 7.3.011
    vim vim 7.3.010
    vim gvim 7.3.09
    vim gvim 7.3.08
    vim gvim 7.3.07
    vim gvim 7.3.06
    vim gvim 7.3.05
    vim gvim 7.3.04
    vim gvim 7.3.03
    vim gvim 7.3.02
    vim vim 8.0.0055
    vim vim 8.0.0377
    vim vim 8.0.0376
    vim vim 8.0
    vim vim 8.0.1187
    vim vim 8.1.2135
    vim vim 8.2.3401
    vim vim 8.2.3425
    vim vim 8.2.3486