Description
http4k is a functional toolkit for Kotlin HTTP applications. Prior to 4.51.0.0, 5.42.0.0, and 6.50.0.0, DigestAuthProvider.verify in http4k-security-digest does not compare the uri parameter in an Authorization: Digest response with the actual request URL. An attacker who captures a valid Digest authentication response can replay it against another URL served by the same realm, bypassing the per-request-URI binding and potentially gaining unauthorized read or write access. This issue is fixed in versions 4.51.0.0, 5.42.0.0, and 6.50.0.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| http4k | http4k | < 4.51.0.0, >= 5.0.0.0, < 5.42.0.0, >= 6.0.0.0, < 6.50.0.0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.http4k:http4k-security-digest | >= 6.0.0.0, < 6.50.0.0 | 6.50.0.0 | GHSA-p28p-j94q-pg32 |
| Maven | org.http4k:http4k-security-digest | >= 5.0.0.0, < 5.42.0.0 | 5.42.0.0 | GHSA-p28p-j94q-pg32 |
| Maven | org.http4k:http4k-security-digest | >= 4.0.0.0, < 4.51.0.0 | 4.51.0.0 | GHSA-p28p-j94q-pg32 |