Vulnerability Name:

CVE-2021-3872 (CCN-211573)

Assigned:2021-10-07
Published:2021-10-07
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
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.3 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:U/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
6.6 Medium (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H)
5.8 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/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): Low
Integrity (I): Low
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
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-122
CWE-787
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-3872

Source: XF
Type: UNKNOWN
vim-cve20213872-bo(211573)

Source: CCN
Type: vim GIT Repository
patch 8.2.3487: illegal memory access if buffer name is very long

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

Source: CONFIRM
Type: Exploit, Patch, Third Party Advisory
https://huntr.dev/bounties/c958013b-1c09-4939-92ca-92f50aa169e8

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

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

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

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

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

Source: CCN
Type: IBM Security Bulletin 6614453 (Robotic Process Automation for Cloud Pak)
Multiple Security Vulnerabilities may affect IBM Robotic Process Automation for Cloud Pak

Source: CCN
Type: IBM Security Bulletin 7002503 (Cloud Pak for Security)
IBM Cloud Pak for Security includes components with multiple known vulnerabilities

Source: CCN
Type: Mend Vulnerability Database
CVE-2021-3872

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

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

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

  • Configuration RedHat 1:
  • cpe:/a:redhat:enterprise_linux:8:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/a:redhat:enterprise_linux:8::appstream:*:*:*:*:*

  • Configuration RedHat 3:
  • cpe:/o:redhat:enterprise_linux:8:*:*:*:*:*:*:*

  • Configuration RedHat 4:
  • cpe:/o:redhat:enterprise_linux:8::baseos:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:vim:vim:8.2.3486:*:*:*:*:*:*:*
  • AND
  • cpe:/a:ibm:robotic_process_automation_for_cloud_pak:21.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:robotic_process_automation_for_cloud_pak:21.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:cloud_pak_for_security:1.10.0.0:*:*:*:*:*:*:*

  • * 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:3284
    P
    libwireshark9-2.4.16-48.51.1 on GA media (Moderate)
    2022-06-28
    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:94914
    P
    gvim-8.0.1568-5.17.1 on GA media (Moderate)
    2022-06-22
    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: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: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: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: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
    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:com.redhat.rhsa:def:20220366
    P
    RHSA-2022:0366: vim security update (Moderate)
    2022-02-01
    BACK
    vim vim *
    fedoraproject fedora 33
    fedoraproject fedora 35
    debian debian linux 9.0
    vim vim 8.2.3486
    ibm robotic process automation for cloud pak 21.0.1
    ibm robotic process automation for cloud pak 21.0.2
    ibm cloud pak for security 1.10.0.0