USN-6557-1: Vim vulnerabilities
Severity
Unknown
Vendor
Canonical Ubuntu
Versions Affected
- Canonical Ubuntu 16.04
- Canonical Ubuntu 18.04
- Canonical Ubuntu 22.04
Description
It was discovered that Vim could be made to dereference invalid memory. 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-1725) It was discovered that Vim could be made to recurse infinitely. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-1771) It was discovered that Vim could be made to write out of bounds with a put command. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-1886) It was discovered that Vim could be made to write out of bounds. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-1897, CVE-2022-2000) It was discovered that Vim did not properly manage memory in the spell command. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-2042) It was discovered that Vim did not properly manage memory. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2023-46246, CVE-2023-48231) It was discovered that Vim could be made to divide by zero. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 23.04 and Ubuntu 23.10. (CVE-2023-48232) It was discovered that Vim contained multiple arithmetic overflows. An attacker could possibly use these issues to cause a denial of service. (CVE-2023-48233, CVE-2023-48234, CVE-2023-48235, CVE-2023-48236, CVE-2023-48237) It was discovered that Vim did not properly manage memory in the substitute command. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 22.04 LTS, Ubuntu 23.04, and Ubuntu 23.10. (CVE-2023-48706) Update Instructions: Run `sudo pro fix USN-6557-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: vim-common – 2:7.4.1689-3ubuntu1.5+esm22 vim-nox-py2 – 2:7.4.1689-3ubuntu1.5+esm22 vim-gnome – 2:7.4.1689-3ubuntu1.5+esm22 vim-athena-py2 – 2:7.4.1689-3ubuntu1.5+esm22 vim-athena – 2:7.4.1689-3ubuntu1.5+esm22 vim-gtk – 2:7.4.1689-3ubuntu1.5+esm22 vim-gui-common – 2:7.4.1689-3ubuntu1.5+esm22 vim – 2:7.4.1689-3ubuntu1.5+esm22 vim-gtk3-py2 – 2:7.4.1689-3ubuntu1.5+esm22 vim-doc – 2:7.4.1689-3ubuntu1.5+esm22 vim-gtk-py2 – 2:7.4.1689-3ubuntu1.5+esm22 vim-tiny – 2:7.4.1689-3ubuntu1.5+esm22 vim-gnome-py2 – 2:7.4.1689-3ubuntu1.5+esm22 vim-gtk3 – 2:7.4.1689-3ubuntu1.5+esm22 vim-nox – 2:7.4.1689-3ubuntu1.5+esm22 vim-runtime – 2:7.4.1689-3ubuntu1.5+esm22 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Affected Cloud Foundry Products and Versions
Severity is unknown unless otherwise noted.
- cflinuxfs4
- All versions prior to 1.61.0
- Jammy Stemcells
- 1.x versions prior to 1.327
- All other stemcells not listed.
- CF Deployment
- All versions prior to 30.0.0, or later versions with Jammy Stemcells prior to 1.327
Mitigation
Users of affected products are strongly encouraged to follow the mitigations below.
The Cloud Foundry project recommends upgrading the following releases:
- cflinuxfs4
- Upgrade all versions to 1.61.0 or greater
- Jammy Stemcells
- Upgrade 1.x versions to 1.327 or greater
- All other stemcells should be upgraded to the latest version available on bosh.io.
- CF Deployment
- Upgrade all versions to 30.0.0 or greater and upgrade Jammy Stemcells to 1.327 or greater
References
History
2024-04-04: Initial vulnerability report published.