USN-5247-1: Vim vulnerabilities

Published Jan 27, 2022
·
Updated

It was discovered that vim incorrectly handled parsing of filenames in its search functionality. If a user was tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service. This issue only affected Ubuntu 21.10. (CVE-2021-3973) It was discovered that vim incorrectly handled memory when opening and searching the contents of certain files. If a user was tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service, or possibly achieve code execution with user privileges. This issue only affected Ubuntu 20.04 LTS and Ubuntu 21.10. (CVE-2021-3974) It was discovered that vim incorrectly handled memory when opening and editing certain files. If a user was tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service, or possibly achieve code execution with user privileges. (CVE-2021-3984) It was discovered that vim incorrectly handled memory when opening and editing certain files. If a user was tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service, or possibly achieve code execution with user privileges. (CVE-2021-4019) It was discovered that vim incorrectly handled memory when opening and editing certain files. If a user was tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service, or possibly achieve code execution with user privileges.(CVE-2021-4069)

Affected Software

6 affected componentsFixes available
All of the following
ubuntu/vim<2:8.2.2434-3ubuntu3.2
2:8.2.2434-3ubuntu3.2
Ubuntu Ubuntu=21.10
All of the following
ubuntu/vim<2:8.1.2269-1ubuntu5.6
2:8.1.2269-1ubuntu5.6
Ubuntu Ubuntu=20.04
All of the following
ubuntu/vim<2:8.0.1453-1ubuntu1.8
2:8.0.1453-1ubuntu1.8
Ubuntu Ubuntu=18.04

Event History

Jan 27, 2022
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this advisory?

The vulnerability ID for this advisory is CVE-2021-3973.

2

Which version of Ubuntu is affected by this vulnerability?

This vulnerability only affects Ubuntu 21.10.

3

How can an attacker exploit this vulnerability?

An attacker can exploit this vulnerability by tricking a user into opening a specially crafted file, which can crash the application and lead to a denial of service.

4

What is the remedy for this vulnerability in Ubuntu 21.10?

The remedy for this vulnerability in Ubuntu 21.10 is to upgrade to vim version 2:8.2.2434-3ubuntu3.2 or later.

5

Are there any additional references for this vulnerability?

Yes, you can find more information about this vulnerability in the following references: [link1](https://ubuntu.com/security/CVE-2021-3974), [link2](https://ubuntu.com/security/CVE-2021-3984), [link3](https://ubuntu.com/security/CVE-2021-4019).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203