Heap-based Buffer Overflow Affecting vim package, versions <2:7.4.1689-3ubuntu1.5+esm6


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.26% (65th 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-UBUNTU1604-VIM-2813629
  • published11 May 2022
  • disclosed10 May 2022

Introduced: 10 May 2022

CVE-2022-1621  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 vim to version 2:7.4.1689-3ubuntu1.5+esm6 or higher.

NVD Description

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

Heap buffer overflow in vim_strncpy find_word in GitHub repository vim/vim prior to 8.2.4919. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution

CVSS Scores

version 3.1