TencentOS Server 3: dhcp (TSSA-2023:0087)

high Nessus Plugin ID 238727

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-2023:0087 advisory.

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

CVE-2022-2928:
An integer overflow vulnerability was found in the DHCP server. When the option_code_hash_lookup() function is called from add_option(), it increases the option's refcount field. However, there is not a corresponding call to option_dereference() to decrement the refcount field. The add_option() function is only used in server responses to lease query packets. Each lease query response calls this function for several options. Hence, a DHCP server configured with allow lease query, a remote machine with access to the server, can send lease queries for the same lease multiple times, leading to the add_option() function being called repeatedly. This issue could cause the reference counters to overflow and the server to abort or crash.
CVE-2022-2929:
A vulnerability was found in the DHCP server where the fqdn_universe_decode() function allocates buffer space for the contents of option 81 (fqdn) data received in a DHCP packet. The maximum length of a DNS label is 63 bytes. The function tests the length byte of each label contained in the fqdn; if it finds a label whose length byte value is larger than 63, it returns without dereferencing the buffer space. This issue causes a memory leak. On a system with access to a DHCP server, an attacker from any adjacent network could send DHCP packets crafted to include fqdn labels longer than 63 bytes to the DHCP server, eventually causing the server to run out of memory and crash.

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-20230087.xml

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

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

Plugin Details

Severity: High

ID: 238727

File Name: tencentos_TSSA_2023_0087.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:dhcp

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: 6/14/2023

Vulnerability Publication Date: 6/14/2023