Vulnerability Name:

CVE-2022-2581 (CCN-232696)

Assigned:2022-07-05
Published:2022-07-05
Updated:2022-08-04
Summary:Out-of-bounds Read in GitHub repository vim/vim prior to 9.0.0104.
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:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
7.0 High (CCN 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 (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-125
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2022-2581

Source: XF
Type: UNKNOWN
vim-cve20222581-code-exec(232696)

Source: CCN
Type: Vim GIT Repository
patch 9.0.0105: illegal memory access when pattern starts with illegal byte

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

Source: CONFIRM
Type: Exploit, Patch, Third Party Advisory
https://huntr.dev/bounties/0bedbae2-82ae-46ae-aa68-1c28b309b60b

Source: CCN
Type: huntr Web site
Out-of-bounds Read in function utf_ptr2char in vim/vim

Source: CCN
Type: Vim Web site
Vim

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

  • * 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:746
    P
    Security update for vim (Important)
    2022-09-09
    BACK
    vim vim *