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
Published
2024-07-04T18:31:10Z
Modified
2024-07-10T15:12:12.141832Z
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
Summary
github.com/gogs/gogs affected by CVE-2024-39930
Details

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.

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