Stack-based Buffer Overflow Affecting vim-minimal package, versions <2:9.0.2153-1.amzn2.0.1


medium

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.04% (6th percentile)
Expand this section
NVD
7.8 high
Expand this section
SUSE
7.8 high
Expand this section
Red Hat
8.4 high

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 ID SNYK-AMZN2-VIMMINIMAL-6253901
  • published 20 Feb 2024
  • disclosed 5 Feb 2024

How to fix?

Upgrade Amazon-Linux:2 vim-minimal to version 2:9.0.2153-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2024-2452.

NVD Description

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

Vim before 9.0.2142 has a stack-based buffer overflow because did_set_langmap in map.c calls sprintf to write to the error buffer that is passed down to the option callback functions.