FreeBSD : gogs -- Multiple vulnerabilities (0230343c-1908-11f0-accc-b42e991fc52e)

critical Nessus Plugin ID 234496

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The version of FreeBSD installed on the remote host is prior to tested version. It is, therefore, affected by multiple vulnerabilities as referenced in the 0230343c-1908-11f0-accc-b42e991fc52e advisory.

[email protected] reports:
CVE-2024-44625: Directory Traversal via the editFilePost function of internal/route/repo/editor.go.
CVE-2024-39933: Gogs allows argument injection during the tagging of a new release.
CVE-2024-39932: Gogs allows argument injection during the previewing of changes.
CVE-2024-39931: Gogs allows deletion of internal files.
CVE-2024-39930: The built-in SSH server of Gogs allows argument injection in internal/ssh/ssh.go, leading to remote code execution. Authenticated attackers can exploit this by opening an SSH connection and sending a malicious
--split-string env request if the built-in SSH server is activated.

Tenable has extracted the preceding description block directly from the FreeBSD 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://nvd.nist.gov/vuln/detail/CVE-2024-39930

https://nvd.nist.gov/vuln/detail/CVE-2024-39931

https://nvd.nist.gov/vuln/detail/CVE-2024-39932

https://nvd.nist.gov/vuln/detail/CVE-2024-39933

https://nvd.nist.gov/vuln/detail/CVE-2024-44625

http://www.nessus.org/u?287f4a20

Plugin Details

Severity: Critical

ID: 234496

File Name: freebsd_pkg_0230343c190811f0acccb42e991fc52e.nasl

Version: 1.1

Type: local

Published: 4/16/2025

Updated: 4/16/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.1

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-44625

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Temporal Score: 8.9

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

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

CVSS Score Source: CVE-2024-39932

Vulnerability Information

CPE: cpe:/o:freebsd:freebsd, p-cpe:/a:freebsd:freebsd:gogs

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/14/2025

Vulnerability Publication Date: 7/4/2024

Reference Information

CVE: CVE-2024-39930, CVE-2024-39931, CVE-2024-39932, CVE-2024-39933, CVE-2024-44625