<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE2-SA-2023-0115</id>
    <title>An update for vim is now available for HCE 2.0</title>
    <severity>Critical</severity>
    <release>HCE 2.0</release>
    <issued date="2023-01-05 20:19:38"/>
    <updated date="2023-01-05 20:19:38"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-4292" id="CVE-2022-4292" title="CVE-2022-4292 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-3324" id="CVE-2022-3324" title="CVE-2022-3324 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-3297" id="CVE-2022-3297" title="CVE-2022-3297 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-3520" id="CVE-2022-3520" title="CVE-2022-3520 Base Score: 9.8 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-3256" id="CVE-2022-3256" title="CVE-2022-3256 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-3352" id="CVE-2022-3352" title="CVE-2022-3352 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-3705" id="CVE-2022-3705" title="CVE-2022-3705 Base Score: 7.5 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-3296" id="CVE-2022-3296" title="CVE-2022-3296 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-4293" id="CVE-2022-4293" title="CVE-2022-4293 Base Score: 5.5 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-3234" id="CVE-2022-3234" title="CVE-2022-3234 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-3235" id="CVE-2022-3235" title="CVE-2022-3235 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-4141" id="CVE-2022-4141" title="CVE-2022-4141 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

Use After Free in GitHub repository vim/vim prior to 9.0.0882. (CVE-2022-4292)

Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0598. (CVE-2022-3324)

Use After Free in GitHub repository vim/vim prior to 9.0.0579. (CVE-2022-3297)

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765. (CVE-2022-3520)

Use After Free in GitHub repository vim/vim prior to 9.0.0530. (CVE-2022-3256)

Use After Free in GitHub repository vim/vim prior to 9.0.0614. (CVE-2022-3352)

A vulnerability was found in vim and classified as problematic. Affected by this issue is the function qf_update_buffer of the file quickfix.c of the component autocmd Handler. The manipulation leads to use after free. The attack may be launched remotely. Upgrading to version 9.0.0805 is able to address this issue. The name of the patch is d0fab10ed2a86698937e3c3fed2f10bd9bb5e731. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-212324. (CVE-2022-3705)

Stack-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0577. (CVE-2022-3296)

Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9.0.0804. (CVE-2022-4293)

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0483. (CVE-2022-3234)

Use After Free in GitHub repository vim/vim prior to 9.0.0490. (CVE-2022-3235)

Heap based buffer overflow in vim/vim 9.0.0946 and below by allowing an attacker to CTRL-W gf in the expression used in the RHS of the substitute command. (CVE-2022-4141)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="vim">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="vim-common" version="8.2" release="28.r47.hce2">
          <filename>vim-common-8.2-28.r47.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="vim-enhanced" version="8.2" release="28.r47.hce2">
          <filename>vim-enhanced-8.2-28.r47.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="vim-filesystem" version="8.2" release="28.r47.hce2">
          <filename>vim-filesystem-8.2-28.r47.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="vim-minimal" version="8.2" release="28.r47.hce2">
          <filename>vim-minimal-8.2-28.r47.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="vim-common" version="8.2" release="28.r47.hce2">
          <filename>vim-common-8.2-28.r47.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="vim-enhanced" version="8.2" release="28.r47.hce2">
          <filename>vim-enhanced-8.2-28.r47.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="vim-minimal" version="8.2" release="28.r47.hce2">
          <filename>vim-minimal-8.2-28.r47.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
