QID 198571

Date Published: 2021-11-17

QID 198571: Ubuntu Security Notification for Vim Vulnerabilities (USN-5147-1)

Vim incorrectly handled permissions on the.
Vim incorrectly handled restricted mode.
Vim incorrectly handled memory when opening certain files.

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

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).
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).
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).
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).
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).
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).

  • CVSS V3 rated as High - 7.8 severity.
  • CVSS V2 rated as High - 6.8 severity.
  • Solution
    Refer to Ubuntu advisory: USN-5147-1 for affected packages and patching details, or update with your package manager.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    USN-5147-1 Ubuntu Linux URL Logo ubuntu.com/security/notices/USN-5147-1