CVE-2022-4725
Java vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2022-4725) was discovered in AWS SDK for Android version 2.59.0, affecting the XpathUtils function within the aws-android-sdk-core/src/main/java/com/amazonaws/util/XpathUtils.java component of the XML Parser. The vulnerability was disclosed on December 27, 2022, and has been assigned a CVSS v3.1 base score of 9.8 (Critical) (NVD).

Technical details

The vulnerability exists in the XML Parser component's XpathUtils function, which could lead to server-side request forgery (SSRF). The issue was addressed by implementing security features in the DocumentBuilderFactory, including disabling XML doctype declarations, XInclude awareness, and entity reference expansion (GitHub Commit).

Impact

The vulnerability allows potential server-side request forgery (SSRF) attacks, which could enable attackers to make unauthorized requests from the vulnerable server. Given the critical CVSS score of 9.8, this indicates potential for high impact on confidentiality, integrity, and availability of the affected systems (NVD).

Mitigation and workarounds

The vulnerability was patched in AWS SDK for Android version 2.59.1. Users are strongly recommended to upgrade to this version or later. The fix includes implementation of security features in the DocumentBuilderFactory, such as disabling doctype declarations, XInclude awareness, and entity reference expansion (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • tika
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • org.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management