TencentOS Server 3: grafana (TSSA-2023:0097)

high Nessus Plugin ID 239019

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:0097 advisory.

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

CVE-2022-39229:
A flaw was found in the Grafana web application. When a user logs into the system, either the username or email address can be used. However, the login system allows both a username and connected email to be registered, which could allow an attacker to prevent a user which has an associated email address access.
CVE-2022-27664:
A flaw was found in the golang package. In net/http in Go, attackers can cause a denial of service because an HTTP/2 connection can hang during closing if a fatal error preempts the shutdown.
CVE-2022-41715:
A flaw was found in the golang package, where programs that compile regular expressions from untrusted sources are vulnerable to memory exhaustion or a denial of service. The parsed regexp representation is linear in the input size. Still, in some cases, the constant factor can be as high as 40,000, making a relatively small regexp consume larger amounts of memory. After the fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Routine use of regular expressions is unaffected.
CVE-2022-2880:
A flaw was found in the golang package, where requests forwarded by reverse proxy include the raw query parameters from the inbound request, including unparseable parameters rejected by net/http. This issue could permit query parameter smuggling when a Go proxy forwards a parameter with an unparseable value.
After the fix, the reverse proxy sanitizes the query parameters in the forwarded query when the outbound request's form field is set after the reverse proxy. The director function returns, indicating that the proxy has parsed the query parameters. Proxies that do not parse query parameters continue to forward the original query parameters unchanged.
CVE-2022-1962:
A flaw was found in the golang standard library, go/parser. When calling any Parse functions on the Go source code, which contains deeply nested types or declarations, a panic can occur due to stack exhaustion. This issue allows an attacker to impact system availability.
CVE-2022-1705:
A flaw was found in golang. The HTTP/1 client accepted invalid Transfer-Encoding headers indicating chunked encoding. This issue could allow request smuggling, but only if combined with an intermediate server that also improperly accepts the header as invalid.
CVE-2022-32148:
A flaw was found in net/http/httputil golang package. When httputil.ReverseProxy.ServeHTTP is called with a Request.Header map containing a nil value for the X-Forwarded-For header, ReverseProxy could set the client IP incorrectly. This issue may affect confidentiality.
CVE-2022-30631:
A flaw was found in golang. Calling the Reader, Read method on an archive that contains a large number of concatenated 0-length compressed files can cause a panic issue due to stack exhaustion.
CVE-2022-30630:
A flaw was found in the golang standard library, io/fs. Calling Glob on a path that contains a large number of path separators can cause a panic issue due to stack exhaustion. This could allow an attacker to impact availability.
CVE-2022-30632:
A flaw was found in golang. Calling Glob on a path that contains a large number of path separators can cause a panic issue due to stack exhaustion. This can cause an attacker to impact availability.
CVE-2022-30635:
A flaw was found in golang. When calling Decoder, Decode on a message that contains deeply nested structures, a panic can occur due to stack exhaustion and allows an attacker to impact system availability.
CVE-2022-28131:
A flaw was found in golang encoding/xml. When calling Decoder, Skip while parsing a deeply nested XML document, a panic can occur due to stack exhaustion and allows an attacker to impact system availability.
CVE-2022-30633:
A flaw was found in golang. Calling Unmarshal on an XML document into a Go struct, which has a nested field that uses the any field tag, can cause a panic due to stack exhaustion.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin Details

Severity: High

ID: 239019

File Name: tencentos_TSSA_2023_0097.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:grafana

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