p PatchFirst

USN-6420-1

USN-6420-1 · Ubuntu security update: vim

Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • vim Ubuntu Pro 14.04 LTSUpdate to 2:7.4.052-1ubuntu3.1+esm13
  • vim Ubuntu Pro 18.04 LTSUpdate to 2:8.0.1453-1ubuntu1.13+esm5
  • vim Ubuntu 20.04 LTSUpdate to 2:8.1.2269-1ubuntu5.18
  • vim Ubuntu 22.04 LTSUpdate to 2:8.2.3995-1ubuntu2.12

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="vim"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from the distribution’s bulletin. Check the original advisory before installing the update.

It was discovered that Vim incorrectly handled memory when opening certain files. If an attacker could trick a user into opening a specially crafted file, it could cause Vim to crash, or possibly execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-3235, CVE-2022-3278, CVE-2022-3297, CVE-2022-3491)

It was discovered that Vim incorrectly handled memory when opening certain files. If an attacker could trick a user into opening a specially crafted file, it could cause Vim to crash, or possibly execute arbitrary code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-3352, CVE-2022-4292)

It was discovered that Vim incorrectly handled memory when replacing in virtualedit mode. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-3234)

It was discovered that Vim incorrectly handled memory when autocmd changes mark. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-3256)

It was discovered that Vim did not properly perform checks on array index with negative width window. An attacker could possibly use this issue to cause a denial of service, or execute arbitrary code. (CVE-2022-3324)

It was discovered that Vim did not properly perform checks on a put command column with a visual block. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-3520)

It was discovered that Vim incorrectly handled memory when using autocommand to open a window. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-3591)

It was discovered that Vim incorrectly handled memory when updating buffer of the component autocmd handler. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-3705)

It was discovered that Vim incorrectly handled floating point comparison with incorrect operator. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. and Ubuntu 22.04 LTS. (CVE-2022-4293)

Published
Updated

Vulnerabilities closed

Stack: system

Updated packages and versions

  • vim Ubuntu Pro 14.04 LTS

    Versions
    • 2:7.4.000-1ubuntu2
    • 2:7.4.052-1ubuntu1
    • 2:7.4.052-1ubuntu2
    • 2:7.4.052-1ubuntu3
    • 2:7.4.052-1ubuntu3.1
    • 2:7.4.052-1ubuntu3.1+esm1
    All versions (16)
    • 2:7.4.052-1ubuntu3.1+esm3
    • 2:7.4.052-1ubuntu3.1+esm4
    • 2:7.4.052-1ubuntu3.1+esm5
    • 2:7.4.052-1ubuntu3.1+esm6
    • 2:7.4.052-1ubuntu3.1+esm7
    • 2:7.4.052-1ubuntu3.1+esm8
    • 2:7.4.052-1ubuntu3.1+esm9
    • 2:7.4.052-1ubuntu3.1+esm10
    • 2:7.4.052-1ubuntu3.1+esm11
    • 2:7.4.052-1ubuntu3.1+esm12
    Affected ranges
    • ECOSYSTEM: < 2:7.4.052-1ubuntu3.1+esm13

    Update to 2:7.4.052-1ubuntu3.1+esm13

  • vim Ubuntu Pro 18.04 LTS

    Versions
    • 2:8.0.0197-4ubuntu5
    • 2:8.0.1144-1ubuntu1
    • 2:8.0.1401-1ubuntu1
    • 2:8.0.1401-1ubuntu2
    • 2:8.0.1401-1ubuntu3
    • 2:8.0.1453-1ubuntu1
    All versions (20)
    • 2:8.0.1453-1ubuntu1.1
    • 2:8.0.1453-1ubuntu1.3
    • 2:8.0.1453-1ubuntu1.4
    • 2:8.0.1453-1ubuntu1.6
    • 2:8.0.1453-1ubuntu1.7
    • 2:8.0.1453-1ubuntu1.8
    • 2:8.0.1453-1ubuntu1.9
    • 2:8.0.1453-1ubuntu1.10
    • 2:8.0.1453-1ubuntu1.11
    • 2:8.0.1453-1ubuntu1.12
    • 2:8.0.1453-1ubuntu1.13
    • 2:8.0.1453-1ubuntu1.13+esm1
    • 2:8.0.1453-1ubuntu1.13+esm3
    • 2:8.0.1453-1ubuntu1.13+esm4
    Affected ranges
    • ECOSYSTEM: < 2:8.0.1453-1ubuntu1.13+esm5

    Update to 2:8.0.1453-1ubuntu1.13+esm5

  • vim Ubuntu 20.04 LTS

    Versions
    • 2:8.1.0875-5ubuntu2
    • 2:8.1.0875-5ubuntu3
    • 2:8.1.0875-5ubuntu4
    • 2:8.1.2269-1ubuntu1
    • 2:8.1.2269-1ubuntu4
    • 2:8.1.2269-1ubuntu5
    All versions (19)
    • 2:8.1.2269-1ubuntu5.3
    • 2:8.1.2269-1ubuntu5.4
    • 2:8.1.2269-1ubuntu5.6
    • 2:8.1.2269-1ubuntu5.7
    • 2:8.1.2269-1ubuntu5.8
    • 2:8.1.2269-1ubuntu5.9
    • 2:8.1.2269-1ubuntu5.11
    • 2:8.1.2269-1ubuntu5.12
    • 2:8.1.2269-1ubuntu5.13
    • 2:8.1.2269-1ubuntu5.14
    • 2:8.1.2269-1ubuntu5.15
    • 2:8.1.2269-1ubuntu5.16
    • 2:8.1.2269-1ubuntu5.17
    Affected ranges
    • ECOSYSTEM: < 2:8.1.2269-1ubuntu5.18

    Update to 2:8.1.2269-1ubuntu5.18

  • vim Ubuntu 22.04 LTS

    Versions
    • 2:8.2.2434-3ubuntu3
    • 2:8.2.2434-3ubuntu4
    • 2:8.2.3565-1ubuntu1
    • 2:8.2.3565-1ubuntu2
    • 2:8.2.3565-1ubuntu3
    • 2:8.2.3565-1ubuntu5
    All versions (17)
    • 2:8.2.3995-1ubuntu1
    • 2:8.2.3995-1ubuntu2
    • 2:8.2.3995-1ubuntu2.1
    • 2:8.2.3995-1ubuntu2.3
    • 2:8.2.3995-1ubuntu2.4
    • 2:8.2.3995-1ubuntu2.5
    • 2:8.2.3995-1ubuntu2.7
    • 2:8.2.3995-1ubuntu2.8
    • 2:8.2.3995-1ubuntu2.9
    • 2:8.2.3995-1ubuntu2.10
    • 2:8.2.3995-1ubuntu2.11
    Affected ranges
    • ECOSYSTEM: < 2:8.2.3995-1ubuntu2.12

    Update to 2:8.2.3995-1ubuntu2.12

Original sources

Check your server →