p PatchFirst

USN-5147-1

USN-5147-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+esm4
  • vim Ubuntu Pro 16.04 LTSUpdate to 2:7.4.1689-3ubuntu1.5+esm3
  • vim Ubuntu 18.04 LTSUpdate to 2:8.0.1453-1ubuntu1.7
  • vim Ubuntu 20.04 LTSUpdate to 2:8.1.2269-1ubuntu5.4

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 permissions on the .swp file. A local attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 14.04 ESM. (CVE-2017-17087)

It was discovered that Vim incorrectly handled restricted mode. A local attacker could possibly use this issue to bypass restricted mode and execute arbitrary commands. Note: This update only makes executing shell commands more difficult. Restricted mode should not be considered a complete security measure. This issue only affected Ubuntu 14.04 ESM. (CVE-2019-20807)

Brian Carpenter discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. This issue only affected Ubuntu 20.04 LTS, Ubuntu 21.04 and Ubuntu 21.10. (CVE-2021-3872)

It was discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. (CVE-2021-3903)

It was discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. (CVE-2021-3927)

It was discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. (CVE-2021-3928)

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 (7)
    • 2:7.4.052-1ubuntu3.1+esm3
    Affected ranges
    • ECOSYSTEM: < 2:7.4.052-1ubuntu3.1+esm4

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

  • vim Ubuntu Pro 16.04 LTS

    Versions
    • 2:7.4.712-2ubuntu4
    • 2:7.4.826-1ubuntu1
    • 2:7.4.826-1ubuntu2
    • 2:7.4.826-1ubuntu3
    • 2:7.4.963-1ubuntu1
    • 2:7.4.963-1ubuntu4
    All versions (14)
    • 2:7.4.963-1ubuntu5
    • 2:7.4.1689-3ubuntu1
    • 2:7.4.1689-3ubuntu1.1
    • 2:7.4.1689-3ubuntu1.2
    • 2:7.4.1689-3ubuntu1.3
    • 2:7.4.1689-3ubuntu1.4
    • 2:7.4.1689-3ubuntu1.5
    • 2:7.4.1689-3ubuntu1.5+esm2
    Affected ranges
    • ECOSYSTEM: < 2:7.4.1689-3ubuntu1.5+esm3

    Update to 2:7.4.1689-3ubuntu1.5+esm3

  • vim Ubuntu 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 (10)
    • 2:8.0.1453-1ubuntu1.1
    • 2:8.0.1453-1ubuntu1.3
    • 2:8.0.1453-1ubuntu1.4
    • 2:8.0.1453-1ubuntu1.6
    Affected ranges
    • ECOSYSTEM: < 2:8.0.1453-1ubuntu1.7

    Update to 2:8.0.1453-1ubuntu1.7

  • 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 (7)
    • 2:8.1.2269-1ubuntu5.3
    Affected ranges
    • ECOSYSTEM: < 2:8.1.2269-1ubuntu5.4

    Update to 2:8.1.2269-1ubuntu5.4

Original sources

Check your server →