Vulnerability in vim package (CVE-2021-46059)

vim Updated 02 Oct 2025

Summary

10/01/2022
N/A
Yes i
Unrated
Not published

CVE-2021-46059: Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. Affects vim versions < 8.2.4173-r0. Fixed in 8.2.4173-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The vim package is a popular text editor used in various operating systems, including Alpine Linux. It provides a wide range of features and functionalities for editing text files. However, a vulnerability (CVE-2021-46059) has been discovered in the vim package, which could potentially lead to security issues.

Vulnerability Detail

The CVE-2021-46059 vulnerability in the vim package allows attackers to exploit a security weakness in the software. This vulnerability could result in unauthorized access, remote code execution, or other malicious activities. It affects versions 0 to 8.2.4173-r0 of the vim package in Alpine Linux versions 3.12 to 3.18.

How To Fix

Minimum fixed version

8.2.4173-r0

This is the first release that contains the fix.

sudo apk add --upgrade vim

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is crucial to apply the recommended fix by updating the vim package to the latest version.

Conclusion

The CVE-2021-46059 vulnerability in the vim package poses a potential security risk. It is crucial to update the vim package to the latest version to mitigate any potential exploits. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for vim →

Share this vulnerability

FAQ

The vulnerability could allow attackers to gain unauthorized access to systems, execute arbitrary code, or perform other malicious activities.

Versions 0 to 8.2.4173-r0 of the vim package in Alpine Linux versions 3.12 to 3.18 are affected.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package manifest file (e.g., package-lock.json) and it will provide real-time alerts for open-source vulnerabilities.

There is no specific information about known exploits for this vulnerability at the moment. However, it is important to apply the recommended fix to mitigate any potential risks.

You can find more information about this vulnerability in the CVE-2021-46059 JSON report available at: [source]

Related vulnerabilities

Recent vulnerabilities recorded for vim.

How To Fix

Minimum fixed version

8.2.4173-r0

This is the first release that contains the fix.

sudo apk add --upgrade vim

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback