Use After Free Affecting vim-enhanced package, versions <2:8.2.4006-1.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.11% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2-VIMENHANCED-2349220
  • published21 Jan 2022
  • disclosed19 Nov 2021

Introduced: 19 Nov 2021

CVE-2021-3974  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 vim-enhanced to version 2:8.2.4006-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2022-1743.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vim-enhanced package and not the vim-enhanced package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

vim is vulnerable to Use After Free

CVSS Scores

version 3.1