CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Gogs

CVE-2024-39930
Gogs vulnerability

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.

Affected products

Gogs. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Gogs runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Gogs products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.