CRITICAL9.8
GHSA-99wh-973f-779p
XML External Entity Reference in Hazelcast
Quick fix
GHSA-99wh-973f-779p — com.hazelcast:hazelcast: upgrade to the fixed version with the command below.
# pom.xml: bump <version>5.1</version> for com.hazelcast:hazelcastDetails
The AbstractXmlConfigRootTagRecognizer() function makes use of SAXParser generated from a SAXParserFactory with no FEATURE_SECURE_PROCESSING set, allowing for XXE attacks.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/com.hazelcast:hazelcast
Introduced in:
5.1-beta1Fixed in: 5.1Fix
# pom.xml: bump <version>5.1</version> for com.hazelcast:hazelcastReferences
- https://nvd.nist.gov/vuln/detail/CVE-2022-0265[ADVISORY]
- https://github.com/hazelcast/hazelcast/pull/20407[WEB]
- https://github.com/hazelcast/hazelcast/commit/4d6b666cd0291abd618c3b95cdbb51aa4208e748[WEB]
- https://github.com/hazelcast/hazelcast[WEB]
- https://huntr.dev/bounties/d63972a2-b910-480a-a86b-d1f75d24d563[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/com.hazelcast/hazelcast"]}'