GitHub Advisoryadvisory · Go
GHSA-mc97-99j4-vm2v Soft Serve Public Key Authentication Bypass Vulnerability when Keyboard-Interactive SSH Authentication is Enabled
HIGH
Official page ↗
- Aliases
- CVE-2023-43809
- Ecosystem
- Go
- Packages
- github.com/charmbracelet/soft-serve
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-287
- Reviewed
- 2023-10-02
Affected packages
• Go github.com/charmbracelet/soft-serve: < 0.6.2 → fixed in 0.6.2
Description
Impact
A security vulnerability in Soft Serve could allow an unauthenticated, remote attacker to bypass public key authentication when keyboard-interactive SSH authentication is active, through the `allow-keyless` setting, and the public key requires additional client-side verification for example using FIDO2 or GPG. This is due to insufficient validation procedures of the public key step during SSH request handshake, granting unauthorized access if the keyboard-interaction mode is utilized. An attacker could exploit this vulnerability by presenting manipulated SSH requests using keyboard-interactive authentication mode. This could potentially result in unauthorized access to the Soft Serve.
Patches
Users should upgrade to the latest Soft Serve version `v0.6.2` to receive the patch for this issue.
Workarounds
To workaround this vulnerability without upgrading, users can _temporarily_ disable Keyboard-Interactive SSH Authentication using the `allow-keyless` setting.
References
https://github.com/charmbracelet/soft-serve/issues/389
Related
Alias · CVE (1)
- CVE-2023-43809 Soft Serve is a self-hostable Git server for the command line. vulnerability
Weakness · CWE (1)
- CWE-287 Improper Authentication weakness
References
- https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-mc97-99j4-vm2v web
- https://nvd.nist.gov/vuln/detail/CVE-2023-43809 advisory
- https://github.com/charmbracelet/soft-serve/issues/389 web
- https://github.com/charmbracelet/soft-serve/commit/407c4ec72d1006cee1ff8c1775e5bcc091c2bc89 web
- https://github.com/charmbracelet/soft-serve package
- https://github.com/charmbracelet/soft-serve/releases/tag/v0.6.2 web