GHSA-p69r-v3h4-rj4f

Suggest an improvement
Source
https://github.com/advisories/GHSA-p69r-v3h4-rj4f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-p69r-v3h4-rj4f/GHSA-p69r-v3h4-rj4f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p69r-v3h4-rj4f
Aliases
Withdrawn
2024-12-23T20:37:28Z
Published
2024-07-04T18:31:10Z
Modified
2024-12-23T20:56:55.885554Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
  • 9.4 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H CVSS Calculator
Summary
Duplicate Advisory: github.com/gogs/gogs affected by CVE-2024-39930
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-vm62-9jw3-c8w3. This link is maintained to preserve external references.

Original Description

The built-in SSH server of Gogs through 0.13.0 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. Windows installations are unaffected.

Database specific
{
    "cwe_ids": [
        "CWE-88"
    ],
    "severity": "CRITICAL",
    "nvd_published_at": "2024-07-04T16:15:02Z",
    "github_reviewed_at": "2024-07-10T14:30:51Z",
    "github_reviewed": true
}
References

Affected packages

Go / github.com/gogs/gogs

Package

Name
github.com/gogs/gogs
View open source insights on deps.dev
Purl
pkg:golang/github.com/gogs/gogs

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.13.0