Use After Free Affecting vim-minimal-debuginfo package, versions <2:9.1.785-1.amzn2023.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.29% (21st 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 IDSNYK-AMZN2023-VIMMINIMALDEBUGINFO-8381832
  • published15 Nov 2024
  • disclosed7 Oct 2024

Introduced: 7 Oct 2024

CVE-2024-47814  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 vim-minimal-debuginfo to version 2:9.1.785-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2024-761.

NVD Description

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

Vim is an open source, command line text editor. A use-after-free was found in Vim < 9.1.0764. When closing a buffer (visible in a window) a BufWinLeave auto command can cause an use-after-free if this auto command happens to re-open the same buffer in a new split window. Impact is low since the user must have intentionally set up such a strange auto command and run some buffer unload commands. However this may lead to a crash. This issue has been addressed in version 9.1.0764 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

CVSS Base Scores

version 3.1