Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2024-22667

Published: 5 February 2024

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.

Notes

AuthorNote
Priority reason:
Denial of service only because of stack protector
mdeslaur
requires sourcing a vim commands file or similar

Priority

Low

Cvss 3 Severity Score

7.8

Score breakdown

Status

Package Release Status
vim
Launchpad, Ubuntu, Debian
bionic
Released (2:8.0.1453-1ubuntu1.13+esm8)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
focal
Released (2:8.1.2269-1ubuntu5.22)
jammy
Released (2:8.2.3995-1ubuntu2.16)
mantic
Released (2:9.0.1672-1ubuntu2.3)
noble Not vulnerable
(2:9.1.0-1ubuntu1)
trusty
Released (2:7.4.052-1ubuntu3.1+esm16)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
upstream
Released (2:9.0.2189-1)
xenial
Released (2:7.4.1689-3ubuntu1.5+esm23)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only)
Patches:
upstream: https://github.com/vim/vim/commit/b39b240c386a5a29241415541f1c99e2e6b8ce47
This vulnerability is mitigated in part by the use of gcc's stack protector in Ubuntu.

Severity score breakdown

Parameter Value
Base score 7.8
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H