GHSA-p28p-j94q-pg32: High severity maven/org.http4k:http4k-security-digest vulnerability
Impact
An issue in DigestAuthProvider.verify:
The uri parameter in the client's Authorization: Digest … response was not checked against the actual request URL. A captured Digest authentication response could be replayed against any other URL served by the same realm, breaking the per-request-URL binding the Digest scheme assumes.
Who is affected: any application using http4k-security-digest for HTTP Digest authentication. The bug has been present since DigestAuthProvider was introduced (commit 8a52b615b1, 2021).
Patches
| Line | Fixed in | Edition | |------|----------|---------| | v6.x (Community) | 6.50.0.0 | Community | | v5.x (LTS) | 5.42.0.0 | Enterprise — contact enterprise@http4k.org (if Digest auth is present in your v5.x line) | | v4.x (LTS) | 4.51.0.0 | Enterprise — contact enterprise@http4k.org (if Digest auth is present in your v4.x line) |
The fix: - Rejects credentials whose uri parameter does not match the request URL.
Workarounds
For deployments that cannot upgrade immediately: - URI binding gap: place Digest auth behind a reverse proxy that pins requests to a single URL.
References
- Vulnerability first present: 8a52b615b1 - URI binding fix: 725f1b9697 - Fix release: v6.50.0.0 - Background: RFC 7616 — HTTP Digest Access Authentication
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.http4k:http4k-security-digestto a version that resolves this vulnerability.Fixed in 5.42.0.0 - Upgrade
Upgrade
maven/org.http4k:http4k-security-digestto a version that resolves this vulnerability.Fixed in 6.50.0.0 - Upgrade
Upgrade
http4k-security-digestto a version that resolves this vulnerability.Fixed in 4.51.0.0 - Upgrade
Upgrade
http4k-security-digestto a version that resolves this vulnerability.Fixed in 5.42.0.0 - Upgrade
Upgrade
http4k-security-digestto a version that resolves this vulnerability.Fixed in 6.50.0.0Patch 725f1b9697 - Compensating control
For deployments that cannot upgrade immediately, place HTTP Digest authentication behind a reverse proxy that pins requests to a single URL (URI binding gap workaround).
Event History
Frequently Asked Questions
What is the severity of GHSA-p28p-j94q-pg32?
The severity of GHSA-p28p-j94q-pg32 is high, with a score of 8.1.
What impact does GHSA-p28p-j94q-pg32 have?
GHSA-p28p-j94q-pg32 allows captured Digest authentication responses to be replayed against any URL served by the same realm, compromising authentication.
How do I fix GHSA-p28p-j94q-pg32?
To fix GHSA-p28p-j94q-pg32, ensure that the 'uri' parameter in the client's Authorization Digest response is validated against the actual request URL.
Which software is affected by GHSA-p28p-j94q-pg32?
GHSA-p28p-j94q-pg32 affects the org.http4k:http4k-security-digest module.
When was GHSA-p28p-j94q-pg32 published?
GHSA-p28p-j94q-pg32 was published on August 17, 2026.