SCA: security update for github.com/AlexxIT/go2rtc (GHSA-qgj8-g9q4-7f2p)

high Tenable Self-Hosted Container Security Plugin ID 418123

Description

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

- gotortc is a camera streaming application. Versions 1.8.5 and prior are vulnerable to Cross-Site Request
Forgery. The `/api/config` endpoint allows one to modify the existing configuration with user-supplied
values. While the API is only allowing localhost to interact without authentication, an attacker may be
able to achieve that depending on how go2rtc is set up on the upstream application, and given that this
endpoint is not protected against CSRF, it allows requests from any origin (e.g. a "drive-by" attack) .
The `exec` handler allows for any stream to execute arbitrary commands. An attacker may add a custom
stream through `api/config`, which may lead to arbitrary command execution. In the event of a victim
visiting the server in question, their browser will execute the requests against the go2rtc instance.
Commit 8793c3636493c5efdda08f3b5ed5c6e1ea594fd9 adds a warning about secure API access. (CVE-2024-29192)

See Also

https://github.com/advisories/GHSA-qgj8-g9q4-7f2p

Plugin Details

Severity: High

ID: 418123

Version: Revision 1.12

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.44

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2024-29192

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 7.4

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/5/2024

Vulnerability Publication Date: 4/4/2024

Reference Information

CVE: CVE-2024-29192

cwe: CWE-352