CVE-2019-12735

Publication date 5 June 2019

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

8.6 · High

Score breakdown

getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via the :source! command in a modeline, as demonstrated by execute in Vim, and assert_fails or nvim_input in Neovim.

From the Ubuntu Security Team

It was discovered that Vim incorrectly handled certain files. An attacker could possibly use this issue to execute arbitrary code.

Read the notes from the security team

Status

Package Ubuntu Release Status
neovim 23.04 lunar
Not affected
22.10 kinetic
Not affected
22.04 LTS jammy
Not affected
21.10 impish
Not affected
21.04 hirsute
Not affected
20.10 groovy
Not affected
20.04 LTS focal
Not affected
19.10 eoan
Not affected
19.04 disco
Fixed 0.3.4-1ubuntu0.19.04.1
18.10 cosmic
Fixed 0.3.1-1ubuntu0.1
18.04 LTS bionic
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
vim 23.04 lunar
Fixed 2:8.1.0875-4ubuntu1
22.10 kinetic
Fixed 2:8.1.0875-4ubuntu1
22.04 LTS jammy
Fixed 2:8.1.0875-4ubuntu1
21.10 impish
Fixed 2:8.1.0875-4ubuntu1
21.04 hirsute
Fixed 2:8.1.0875-4ubuntu1
20.10 groovy
Fixed 2:8.1.0875-4ubuntu1
20.04 LTS focal
Fixed 2:8.1.0875-4ubuntu1
19.10 eoan
Fixed 2:8.1.0875-4ubuntu1
19.04 disco
Fixed 2:8.1.0320-1ubuntu3.1
18.10 cosmic
Fixed 2:8.0.1766-1ubuntu1.1
18.04 LTS bionic
Fixed 2:8.0.1453-1ubuntu1.1
16.04 LTS xenial
Fixed 2:7.4.1689-3ubuntu1.3
14.04 LTS trusty
Not affected

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


leosilva

neither precise/esm or trusty/esm seems to be affected. The POC was not reproducible in these releases

Severity score breakdown

Parameter Value
Base score 8.6 · High
Attack vector Local
Attack complexity Low
Privileges required None
User interaction Required
Scope Changed
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

Other references