Vulnerability Name:

CVE-2021-4136 (CCN-215860)

Assigned:2021-12-18
Published:2021-12-18
Updated:2022-09-01
Summary:vim is vulnerable to Heap-based Buffer Overflow
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)
6.8 Medium (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:U/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:H/I:H/A:L)
6.4 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L/E:U/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): Low
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:C/I:C/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Partial
Vulnerability Type:CWE-122
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-4136

Source: FULLDISC
Type: Mailing List, Third Party Advisory
20220721 APPLE-SA-2022-07-20-4 Security Update 2022-005 Catalina

Source: FULLDISC
Type: Mailing List, Third Party Advisory
20220314 APPLE-SA-2022-03-14-4 macOS Monterey 12.3

Source: FULLDISC
Type: Mailing List, Third Party Advisory
20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6

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

Source: XF
Type: UNKNOWN
vim-cve20214136-bo(215860)

Source: CCN
Type: Vim GIT Repository
patch 8.2.3847: illegal memory access when using a lambda with an error

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

Source: CONFIRM
Type: Exploit, Patch, Third Party Advisory
https://huntr.dev/bounties/5c6b93c1-2d27-4e98-a931-147877b8c938

Source: CCN
Type: huntr Web site
Heap-based Buffer Overflow in vim/vim

Source: FEDORA
Type: Third Party Advisory
FEDORA-2022-a3d70b50f0

Source: FEDORA
Type: Third Party Advisory
FEDORA-2022-48b86d586f

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

Source: CCN
Type: Apple security document HT213183
About the security content of macOS Monterey 12.3

Source: CCN
Type: Apple security document HT213256
About the security content of macOS Big Sur 11.6.6

Source: CCN
Type: Apple security document HT213343
About the security content of Security Update 2022-005 Catalina

Source: CONFIRM
Type: Release Notes, Third Party Advisory
https://support.apple.com/kb/HT213183

Source: CONFIRM
Type: Third Party Advisory
https://support.apple.com/kb/HT213256

Source: CONFIRM
Type: Third Party Advisory
https://support.apple.com/kb/HT213343

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

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

  • Configuration 3:
  • cpe:/o:apple:mac_os_x:*:*:*:*:*:*:*:* (Version >= 10.15 and < 10.15.7)
  • OR cpe:/o:apple:mac_os_x:10.15.7:supplemental_update:*:*:*:*:*:*
  • OR cpe:/o:apple:mac_os_x:10.15.7:security_update_2020-005:*:*:*:*:*:*
  • OR cpe:/o:apple:mac_os_x:10.15.7:security_update_2020-007:*:*:*:*:*:*
  • OR cpe:/o:apple:mac_os_x:10.15.7:-:*:*:*:*:*:*
  • OR cpe:/o:apple:mac_os_x:10.15.7:security_update_2020-001:*:*:*:*:*:*
  • OR cpe:/o:apple:mac_os_x:10.15.7:security_update_2020:*:*:*:*:*:*
  • OR cpe:/o:apple:mac_os_x:10.15.7:security_update_2021-001:*:*:*:*:*:*
  • OR cpe:/o:apple:mac_os_x:10.15.7:security_update_2021-002:*:*:*:*:*:*
  • OR cpe:/o:apple:macos:*:*:*:*:*:*:*:* (Version >= 12.0 and < 12.3)
  • OR cpe:/o:apple:macos:*:*:*:*:*:*:*:* (Version >= 11.0 and < 11.6.6)
  • OR cpe:/o:apple:mac_os_x:10.15.7:security_update_2022-001:*:*:*:*:*:*
  • OR cpe:/o:apple:mac_os_x:10.15.7:security_update_2022-002:*:*:*:*:*:*
  • OR cpe:/o:apple:mac_os_x:10.15.7:security_update_2022-003:*:*:*:*:*:*
  • OR cpe:/o:apple:mac_os_x:10.15.7:security_update_2022-004:*:*:*:*:*:*
  • OR cpe:/o:apple:mac_os_x:10.15.7:security_update_2021-003:*:*:*:*:*:*
  • OR cpe:/o:apple:mac_os_x:10.15.7:security_update_2021-006:*:*:*:*:*:*
  • OR cpe:/o:apple:mac_os_x:10.15.7:security_update_2021-007:*:*:*:*:*:*
  • OR cpe:/o:apple:mac_os_x:10.15.7:security_update_2021-008:*:*:*:*:*:*

  • 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:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.2.3635:*:*:*:*:*:*:*

  • * 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
    apple mac os x *
    apple mac os x 10.15.7 supplemental_update
    apple mac os x 10.15.7 security_update_2020-005
    apple mac os x 10.15.7 security_update_2020-007
    apple mac os x 10.15.7 -
    apple mac os x 10.15.7 security_update_2020-001
    apple mac os x 10.15.7 security_update_2020
    apple mac os x 10.15.7 security_update_2021-001
    apple mac os x 10.15.7 security_update_2021-002
    apple macos *
    apple macos *
    apple mac os x 10.15.7 security_update_2022-001
    apple mac os x 10.15.7 security_update_2022-002
    apple mac os x 10.15.7 security_update_2022-003
    apple mac os x 10.15.7 security_update_2022-004
    apple mac os x 10.15.7 security_update_2021-003
    apple mac os x 10.15.7 security_update_2021-006
    apple mac os x 10.15.7 security_update_2021-007
    apple mac os x 10.15.7 security_update_2021-008
    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
    vim vim 8.2.3635