TencentOS Server 3: vim (TSSA-2022:0031)

high Nessus Plugin ID 239255

Synopsis

The remote TencentOS Server 3 host is missing one or more security updates.

Description

The version of Tencent Linux installed on the remote TencentOS Server 3 host is prior to tested version. It is, therefore, affected by multiple vulnerabilities as referenced in the TSSA-2022:0031 advisory.

Package updates are available for TencentOS Server 3 that fix the following vulnerabilities:

CVE-2019-12735:
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.

CVE-2019-20807:
In Vim before 8.1.0881, users can circumvent the rvim restricted mode and execute arbitrary OS commands via scripting interfaces (e.g., Python, Ruby, or Lua).

CVE-2021-3778:
vim is vulnerable to Heap-based Buffer Overflow

CVE-2021-3796:
vim is vulnerable to Use After Free

CVE-2022-1154:
Use after free in utf_ptr2char in GitHub repository vim/vim prior to 8.2.4646.

Tenable has extracted the preceding description block directly from the Tencent Linux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://mirrors.tencent.com/tlinux/errata/tssa-20220031.xml

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12735

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20807

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3778

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3796

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1154

Plugin Details

Severity: High

ID: 239255

File Name: tencentos_TSSA_2022_0031.nasl

Version: 1.1

Type: local

Published: 6/16/2025

Updated: 6/16/2025

Supported Sensors: Nessus

Vulnerability Information

CPE: cpe:/o:tencent:tencentos_server:3, p-cpe:/a:tencent:tencentos_server:vim

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/etc/os-release, Host/TencentOS/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 5/12/2022

Vulnerability Publication Date: 5/12/2022