Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.http4k/http4k-format-xml
  4. ›
  5. CVE-2024-55875

CVE-2024-55875: http4k has a potential XXE (XML External Entity Injection) vulnerability

December 12, 2024

Short summary of the problem. Make the impact and severity as clear as possible. For example: An unsafe deserialization vulnerability allows any unauthenticated user to execute arbitrary code on the server.

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.

References

  • github.com/advisories/GHSA-7mj5-hjjj-8rgw
  • github.com/http4k/http4k
  • github.com/http4k/http4k/blob/25696dff2d90206cc1da42f42a1a8dbcdbcdf18c/core/format/xml/src/main/kotlin/org/http4k/format/Xml.kt
  • github.com/http4k/http4k/commit/35297adc6d6aca4951d50d8cdf17ff87a8b19fbc
  • github.com/http4k/http4k/security/advisories/GHSA-7mj5-hjjj-8rgw
  • nvd.nist.gov/vuln/detail/CVE-2024-55875

Code Behaviors & Features

Detect and mitigate CVE-2024-55875 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 starting from 5.0.0.0 before 5.41.0.0, all versions before 4.50.0.0

Fixed versions

  • 5.41.0.0
  • 4.50.0.0

Solution

Upgrade to versions 4.50.0.0, 5.41.0.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • 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)

Source file

maven/org.http4k/http4k-format-xml/CVE-2024-55875.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:51 +0000.