SCA: security update for gogs.io/gogs (GHSA-wj44-9vcg-wjq7)

critical Tenable Self-Hosted Container Security Plugin ID 437309

Description

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

- Gogs is an open source self-hosted Git service. Prior to version 0.13.3, it's still possible to delete
files under the .git directory and achieve remote command execution due to an insufficient patch for
CVE-2024-39931. Unprivileged user accounts can execute arbitrary commands on the Gogs instance with the
privileges of the account specified by RUN_USER in the configuration. Allowing attackers to access and
alter any users' code hosted on the same instance. This issue has been patched in version 0.13.3.
(CVE-2024-56731)

See Also

https://github.com/advisories/GHSA-wj44-9vcg-wjq7

Plugin Details

Severity: Critical

ID: 437309

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/28/2026

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.79

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2024-56731

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/24/2025

Vulnerability Publication Date: 6/24/2025

Reference Information

CVE: CVE-2024-56731

cwe: CWE-552