Vulnerability Name:

CVE-2022-1154 (CCN-223115)

Assigned:2022-03-28
Published:2022-03-28
Updated:2023-05-03
Summary:Vim is vulnerable to a heap-based buffer overflow, caused by a use-after-free in mbyte.c in utf_ptr2char. By sending a specially-crafted request, a local authenticated attacker could overflow a buffer and execute arbitrary code on the system or cause a denial of service.
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.8 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H)
7.0 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): High
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.8 High (REDHAT 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 (REDHAT 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
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.0 Medium (CCN CVSS v2 Vector: AV:L/AC:H/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): High
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2022-1154

Source: XF
Type: UNKNOWN
vim-cve20221154-bo(223115)

Source: CCN
Type: Vim GIT Repository
vim

Source: security@huntr.dev
Type: Patch, Third Party Advisory
security@huntr.dev

Source: security@huntr.dev
Type: Exploit, Patch, Third Party Advisory
security@huntr.dev

Source: CCN
Type: huntr Web site
Use after free in utf_ptr2char in vim/vim

Source: security@huntr.dev
Type: Third Party Advisory
security@huntr.dev

Source: security@huntr.dev
Type: Mailing List, Third Party Advisory
security@huntr.dev

Source: security@huntr.dev
Type: Mailing List, Third Party Advisory
security@huntr.dev

Source: security@huntr.dev
Type: Mailing List, Third Party Advisory
security@huntr.dev

Source: security@huntr.dev
Type: Third Party Advisory
security@huntr.dev

Source: security@huntr.dev
Type: UNKNOWN
security@huntr.dev

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

Source: CCN
Type: IBM Security Bulletin 6622033 (Cloud Pak for Watson AIOps)
Multiple Vulnerabilities in Cloud Pak for Watson AIOPs

Source: CCN
Type: IBM Security Bulletin 6831853 (QRadar SIEM)
IBM QRadar SIEM Application Framework Base Image is vulnerable to using components with Known Vulnerabilities

Source: CCN
Type: IBM Security Bulletin 6832956 (Cloud Pak for Security)
IBM Cloud Pak for Security is vulnerable to using components with known vulnerabilities

Source: CCN
Type: Oracle CPUJul2022
Oracle Critical Patch Update Advisory - July 2022

Source: security@huntr.dev
Type: Third Party Advisory
security@huntr.dev

Source: CCN
Type: Vim Web site
Vim

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

Vulnerable Configuration: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 RedHat 5:
  • cpe:/a:redhat:enterprise_linux:9:*:*:*:*:*:*:*
  • Configuration RedHat 6:
  • cpe:/a:redhat:enterprise_linux:9::appstream:*:*:*:*:*
  • Configuration RedHat 7:
  • cpe:/o:redhat:enterprise_linux:9:*:*:*:*:*:*:*
  • Configuration RedHat 8:
  • cpe:/o:redhat:enterprise_linux:9::baseos:*:*:*:*:*

  • 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.3582:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.2.3635:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.2.3883:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.2.4058:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.2.4280:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:8.2.4244:*:*:*:*:*:*:*
  • AND
  • cpe:/a:ibm:qradar_security_information_and_event_manager:7.4:-:*:*:*:*:*:*
  • OR 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:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.redhat.rhsa:def:20225242
    P
    RHSA-2022:5242: vim security update (Moderate)
    2022-07-01
    oval:com.redhat.rhsa:def:20221552
    P
    RHSA-2022:1552: vim security update (Moderate)
    2022-04-26
    BACK
    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.3582
    vim vim 8.2.3635
    vim vim 8.2.3883
    vim vim 8.2.4058
    vim vim 8.2.4280
    vim vim 8.2.4244
    ibm qradar security information and event manager 7.4 -
    ibm robotic process automation for cloud pak 21.0.1
    ibm robotic process automation for cloud pak 21.0.2