USN-6302-1
USN-6302-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+esm12
- vim Ubuntu Pro 18.04 LTSUpdate to 2:8.0.1453-1ubuntu1.13+esm4
- vim Ubuntu 20.04 LTSUpdate to 2:8.1.2269-1ubuntu5.17
- vim Ubuntu 22.04 LTSUpdate to 2:8.2.3995-1ubuntu2.11
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 | shChannels 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-2522, CVE-2022-2580, CVE-2022-2817, CVE-2022-2819, CVE-2022-2862, CVE-2022-2889, CVE-2022-2982, CVE-2022-3134)
It was discovered that Vim did not properly perform bounds checks in the diff mode in certain situations. 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-2598)
It was discovered that Vim did not properly perform bounds checks in certain situations. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-2816)
It was discovered that Vim incorrectly handled memory when skipping compiled code. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-2874)
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 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-3016, CVE-2022-3037)
It was discovered that Vim incorrectly handled memory when invalid line number on ":for" is ignored. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-3099)
It was discovered that Vim incorrectly handled memory when passing invalid arguments to the assert_fails() method. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-3153)
- 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 (15)
- 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
- Affected ranges
- ECOSYSTEM: < 2:7.4.052-1ubuntu3.1+esm12
Update to 2:7.4.052-1ubuntu3.1+esm12
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 (19)
- 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
- Affected ranges
- ECOSYSTEM: < 2:8.0.1453-1ubuntu1.13+esm4
Update to 2:8.0.1453-1ubuntu1.13+esm4
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 (18)
- 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
- Affected ranges
- ECOSYSTEM: < 2:8.1.2269-1ubuntu5.17
Update to 2:8.1.2269-1ubuntu5.17
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 (16)
- 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
- Affected ranges
- ECOSYSTEM: < 2:8.2.3995-1ubuntu2.11
Update to 2:8.2.3995-1ubuntu2.11
Original sources
- https://ubuntu.com/security/notices/USN-6302-1
- https://ubuntu.com/security/CVE-2022-2522
- https://ubuntu.com/security/CVE-2022-2580
- https://ubuntu.com/security/CVE-2022-2598
- https://ubuntu.com/security/CVE-2022-2816
- https://ubuntu.com/security/CVE-2022-2817
- https://ubuntu.com/security/CVE-2022-2819
- https://ubuntu.com/security/CVE-2022-2862
- https://ubuntu.com/security/CVE-2022-2874
- https://ubuntu.com/security/CVE-2022-2889
- https://ubuntu.com/security/CVE-2022-2982
- https://ubuntu.com/security/CVE-2022-3016
- https://ubuntu.com/security/CVE-2022-3037
- https://ubuntu.com/security/CVE-2022-3099
- https://ubuntu.com/security/CVE-2022-3134
- https://ubuntu.com/security/CVE-2022-3153
- https://osv.dev/vulnerability/USN-6302-1