Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.http4k/http4k-security-digest
  4. ›
  5. GHSA-c7jm-38gq-h67h

GHSA-c7jm-38gq-h67h: http4k: `ServerFilters.DigestAuth` / `DigestAuthProvider` defaulted to an always-true nonce verifier, disabling replay protection in default deployments

June 19, 2026

ServerFilters.DigestAuth and the underlying DigestAuthProvider both defaulted their nonceVerifier parameter to { true } — i.e. every nonce was accepted regardless of value, age, or prior use. Any deployment using the default configuration had no replay protection on Digest authentication; a captured Authorization: Digest … response could be replayed indefinitely against the same protected resource.

The nonce-verification mechanism in Digest auth is the primary anti-replay control — without it, Digest reduces to a credential bound only to a stale nonce string.

Who is affected: any application using ServerFilters.DigestAuth or DigestAuthProvider with the default nonceVerifier. The broken default has been present since DigestAuthProvider was introduced (2021). Exploitation requires the attacker to first capture a valid Digest response (network observation, log access, etc.) — non-trivial in modern TLS deployments but not impossible. Anyone running Digest auth with default config should treat upgrade as urgent.

References

  • datatracker.ietf.org/doc/html/rfc7616
  • github.com/advisories/GHSA-c7jm-38gq-h67h
  • github.com/http4k/http4k/commit/4f904b4692
  • github.com/http4k/http4k/commit/8a52b615b1
  • github.com/http4k/http4k/releases/tag/6.48.0.0
  • github.com/http4k/http4k/security/advisories/GHSA-c7jm-38gq-h67h

Code Behaviors & Features

Detect and mitigate GHSA-c7jm-38gq-h67h with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.51.0, all versions starting from 5.0.0 before 5.42.0, all versions starting from 6.0.0 before 6.48.0

Fixed versions

  • 4.51.0
  • 5.42.0
  • 6.48.0

Solution

Upgrade to versions 4.51.0, 5.42.0, 6.48.0 or above.

Weakness

  • CWE-294: Authentication Bypass by Capture-replay

Source file

maven/org.http4k/http4k-security-digest/GHSA-c7jm-38gq-h67h.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:49 +0000.