Description
http4k is a functional toolkit for Kotlin HTTP applications. Prior to version 5.41.0.0, there is a potential XXE (XML External Entity Injection) vulnerability when http4k handling malicious XML contents within requests, which might allow attackers to read local sensitive information on server, trigger Server-side Request Forgery and even execute code under some circumstances. Version 5.41.0.0 contains a patch for the issue.
Problem types
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
CWE-611: Improper Restriction of XML External Entity Reference
CWE-918: Server-Side Request Forgery (SSRF)
Product status
References
github.com/...http4k/security/advisories/GHSA-7mj5-hjjj-8rgw
github.com/...http4k/security/advisories/GHSA-7mj5-hjjj-8rgw
github.com/...ommit/35297adc6d6aca4951d50d8cdf17ff87a8b19fbc
github.com/...t/xml/src/main/kotlin/org/http4k/format/Xml.kt