Vulnerability Name:

CVE-2022-2580 (CCN-232697)

Assigned:2022-07-20
Published:2022-07-20
Updated:2022-08-04
Summary:Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0102.
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:H/I:L/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:H/I:L/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): Low
Availibility (A): High
CVSS v2 Severity:6.4 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:C/I:P/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Partial
Availibility (A): Complete
Vulnerability Type:CWE-122
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2022-2580

Source: XF
Type: UNKNOWN
vim-cve20222580-bo(232697)

Source: CCN
Type: Vim GIT Repository
patch 9.0.0104: going beyond allocated memory when evaluating string constant

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

Source: CONFIRM
Type: Exploit, Patch, Third Party Advisory
https://huntr.dev/bounties/c5f2f1d4-0441-4881-b19c-055acaa16249

Source: CCN
Type: huntr Web site
heap-buffer-overflow occurs in function eval_string ./vim/src/typval.c:2226 in vim/vim

Source: CCN
Type: Vim Web site
Vim

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

  • * 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 *