SCA: security update for github.com/0xJacky/Nginx-UI (GHSA-pxmr-q2x3-9x9m)

high Tenable Cloud Security Plugin ID 417778

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Nginx-ui is online statistics for Server Indicators​​ Monitor CPU usage, memory usage, load average, and
disk usage in real-time. The `Home > Preference` page exposes a small list of nginx settings such as
`Nginx Access Log Path` and `Nginx Error Log Path`. However, the API also exposes `test_config_cmd`,
`reload_cmd` and `restart_cmd`. While the UI doesn't allow users to modify any of these settings, it is
possible to do so by sending a request to the API. This issue may lead to authenticated Remote Code
Execution, Privilege Escalation, and Information Disclosure. This issue has been patched in version
2.0.0.beta.9. (CVE-2024-22197)

Solution

Update the github.com/0xJacky/Nginx-UI library and its related packages to version 1.9.10-0.20231219184941-827e76c46e63 or later.

See Also

https://github.com/advisories/GHSA-pxmr-q2x3-9x9m

Plugin Details

Severity: High

ID: 417778

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/6/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.58

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2024-22197

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/11/2024

Vulnerability Publication Date: 1/11/2024

Reference Information

CVE: CVE-2024-22197

cwe: CWE-77