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 ignores its configured algorithm parameter and verifies every Digest response with hardcoded MD5. Deployments configured for SHA-256 therefore receive weaker MD5-based verification, exposing Digest authentication to collision-related attack paths that depend on the hash function's collision resistance. 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-vxxm-wwqh-mh47 |
| Maven | org.http4k:http4k-security-digest | >= 5.0.0.0, < 5.42.0.0 | 5.42.0.0 | GHSA-vxxm-wwqh-mh47 |
| Maven | org.http4k:http4k-security-digest | <= 4.48.2.0 | — | GHSA-vxxm-wwqh-mh47 |