Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
http4k http4k
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

http4k是http4k开源的一个轻量级但功能齐全的 HTTP 工具包。 http4k 5.41.0.0之前版本存在代码问题漏洞,该漏洞源于在处理请求中的恶意XML内容时存在潜在的XML外部实体注入漏洞,可能允许攻击者读取服务器上的本地敏感信息,触发服务器端请求伪造,甚至在某些情况下执行代码。

CVSS 9.8 · Critical EPSS 1.91% · P80

Affected Version Matrix 1

VendorProduct Version RangeStatus
http4k http4k < 6.50.0.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-55875

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
http4k has a potential XXE (XML External Entity Injection) vulnerability
Source: CVE Program / CVE List V5
Vulnerability Description
http4k is a functional toolkit for Kotlin HTTP applications. Prior to version 6.50.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. The original fix shipped in v5.41.0.0 / v4.50.0.0 closed the documented external-entity attack class (SSRF, local-file disclosure, code execution) by setting `ACCESS_EXTERNAL_DTD=""`, `ACCESS_EXTERNAL_SCHEMA=""`, and `isExpandEntityReferences=false` on the default `DocumentBuilderFactory`. A residual gap remained: the parser still accepted documents containing `<!DOCTYPE>` declarations even though external entity resolution was blocked. This left open billion-laughs-style internal entity expansion DoS attacks against any application using `Body.xml()` or `Document.asXmlDocument()` on untrusted XML. v6.50.0.0 closes this residual by adding `disallow-doctype-decl=true` and `FEATURE_SECURE_PROCESSING=true` to `defaultXmlParsingConfig`. Any document containing a `<!DOCTYPE>` is now rejected at parse time.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
http4k 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
http4k是http4k开源的一个轻量级但功能齐全的 HTTP 工具包。 http4k 5.41.0.0之前版本存在代码问题漏洞,该漏洞源于在处理请求中的恶意XML内容时存在潜在的XML外部实体注入漏洞,可能允许攻击者读取服务器上的本地敏感信息,触发服务器端请求伪造,甚至在某些情况下执行代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
http4k http4k < 6.50.0.0 -

II. Public POCs for CVE-2024-55875

# POC Description Source Link Shenlong Link
1 CVE-2024-55875 | GHSA-7mj5-hjjj-8rgw | http4k first CVE https://github.com/JAckLosingHeart/CVE-2024-55875 POC Details
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8380 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-55875

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-55875 (2)

Vendor Advisories for CVE-2024-55875 (1)

IV. Related Vulnerabilities