USN-5613-1: Vim vulnerabilities
Severity
Medium
Vendor
Canonical Ubuntu
Versions Affected
- Canonical Ubuntu 18.04
Description
It was discovered that Vim was not properly performing bounds checks when executing spell suggestion commands. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-0943) It was discovered that Vim was using freed memory when dealing with regular expressions through its old regular expression engine. If a user were tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service, or possibly achieve code execution. (CVE-2022-1154) It was discovered that Vim was not properly performing checks on name of lambda functions. An attacker could possibly use this issue to cause a denial of service. This issue affected only Ubuntu 22.04 LTS. (CVE-2022-1420) It was discovered that Vim was incorrectly performing bounds checks when processing invalid commands with composing characters in Ex mode. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-1616) It was discovered that Vim was not properly processing latin1 data when issuing Ex commands. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-1619) It was discovered that Vim was not properly performing memory management when dealing with invalid regular expression patterns in buffers. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-1620) It was discovered that Vim was not properly processing invalid bytes when performing spell check operations. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2022-1621) Update Instructions: Run `sudo ua fix USN-5613-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: vim-common – 2:8.1.2269-1ubuntu5.8 vim-athena – 2:8.1.2269-1ubuntu5.8 vim-tiny – 2:8.1.2269-1ubuntu5.8 vim-gtk – 2:8.1.2269-1ubuntu5.8 vim-gui-common – 2:8.1.2269-1ubuntu5.8 vim – 2:8.1.2269-1ubuntu5.8 vim-doc – 2:8.1.2269-1ubuntu5.8 xxd – 2:8.1.2269-1ubuntu5.8 vim-runtime – 2:8.1.2269-1ubuntu5.8 vim-gtk3 – 2:8.1.2269-1ubuntu5.8 vim-nox – 2:8.1.2269-1ubuntu5.8 No subscription required
CVEs contained in this USN include: CVE-2022-1154, CVE-2022-0943, CVE-2022-1420, CVE-2022-1616, CVE-2022-1619, CVE-2022-1620, CVE-2022-1621.
Affected Cloud Foundry Products and Versions
Severity is medium unless otherwise noted.
- Bionic Stemcells
- 1.x versions prior to 1.107
- All other stemcells not listed.
- cflinuxfs3
- All versions prior to 0.324.0
- CF Deployment
- All versions prior to 21.11.0, or later versions with Bionic Stemcells prior to 1.107
Mitigation
Users of affected products are strongly encouraged to follow the mitigations below. The Cloud Foundry project recommends upgrading the following releases:
- Bionic Stemcells
- Upgrade 1.x versions to 1.107 or greater
- All other stemcells should be upgraded to the latest version available on bosh.io.
- cflinuxfs3
- Upgrade all versions to 0.324.0 or greater
- CF Deployment
- Upgrade all versions to 21.11.0 or greater and upgrade Bionic Stemcells to 1.107 or greater
References
History
2022-09-29: Initial vulnerability report published.