Lookup for vulnerable packages by Package URL.
| Purl | pkg:maven/org.http4k/http4k-format-xml@6.28.1.0 |
| Type | maven |
| Namespace | org.http4k |
| Name | http4k-format-xml |
| Version | 6.28.1.0 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 6.50.0.0 |
| Latest_non_vulnerable_version | 6.50.0.0 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-bvgu-kvva-63gb |
| vulnerability_id |
VCID-bvgu-kvva-63gb |
| summary |
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. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2024-55875, GHSA-7mj5-hjjj-8rgw
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-bvgu-kvva-63gb |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | null |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:maven/org.http4k/http4k-format-xml@6.28.1.0 |