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


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.1% (42nd 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-VIMCOMMON-2957289
  • published21 Jul 2022
  • disclosed27 May 2022

Introduced: 27 May 2022

CVE-2022-1898  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 vim-common to version 2:8.2.5172-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2022-1829.

NVD Description

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

Use After Free in GitHub repository vim/vim prior to 8.2.

CVSS Scores

version 3.1