{"answers":{"affected":"2 open source packages ship an affected version, including com.amazonaws:aws-android-sdk-mobile-client. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-4725 in the wild and no public exploit code.","fix":"Upgrade com.amazonaws:aws-android-sdk-mobile-client to 2.59.1 or later.","what":"CVE-2022-4725 is a medium-severity server-side request forgery vulnerability in AWS SDK, published on 24 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-4725 and fix it if it is affected.\n\nWhat it is: CVE-2022-4725 is a medium-severity server-side request forgery vulnerability in AWS SDK, published on 24 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-4725 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.amazonaws:aws-android-sdk-mobile-client (Maven): affected all versions; fixed in 2.59.1\n- com.amazonaws:aws-android-sdk-mobile-client (Maven): affected all versions; fixed in 2.59.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-4725/ (Markdown: https://insights.sbomify.com/CVE-2022-4725/index.md)","id":"CVE-2022-4725","markdown":"https://insights.sbomify.com/CVE-2022-4725/index.md","name":"CVE-2022-4725","record":{"aliases":["GHSA-f5h9-qx38-2hgp"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"AWS SDK","requires_auth":"low_privilege","summary":"An attacker can exploit a server-side request forgery vulnerability in the AWS SDK XML parser to access internal resources or bypass security controls.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"aws_software_development_kit","vendor":"amazon"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"AWS SDK XML Parser XpathUtils.java XpathUtils server-side request forgery","id":"CVE-2022-4725","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"ssrf","year":"2022"},"n_packages":2,"n_references":4,"next":{"headline":"SourceCodester Sanitization Management System Admin Login sql injection","id":"CVE-2022-4726"},"packages":[{"ecosystem":"Maven","fixed":["2.59.1"],"introduced":["0"],"last_affected":[],"package":"com.amazonaws:aws-android-sdk-mobile-client","purl":null,"source":"GHSA-f5h9-qx38-2hgp"},{"ecosystem":"Maven","fixed":["2.59.1"],"introduced":["0"],"last_affected":[],"package":"com.amazonaws:aws-android-sdk-mobile-client","purl":"pkg:maven/com.amazonaws/aws-android-sdk-mobile-client","source":"GHSA-f5h9-qx38-2hgp"}],"prev":{"headline":"Improper Access Control in ikus060/rdiffweb","id":"CVE-2022-4724"},"products":["AWS SDK"],"published":"2022-12-24","related":[{"cvss_score":7.2,"headline":"Information disclosure in n/a","id":"CVE-2018-19981","kev_date_added":null,"published":"2019-04-04"},{"cvss_score":6,"headline":"Out-of-bounds write in the Base64 decoder in Amazon aws-sdk-cpp","id":"CVE-2026-19642","kev_date_added":null,"published":"2026-08-12"},{"cvss_score":6,"headline":"Out-of-bounds read in the Base64 decoder in Amazon aws-sdk-cpp on signed-char platforms","id":"CVE-2026-19643","kev_date_added":null,"published":"2026-08-12"},{"cvss_score":6,"headline":"Potential URI resolution path traversal in the AWS SDK for PHP","id":"CVE-2023-51651","kev_date_added":null,"published":"2023-12-22"},{"cvss_score":4.3,"headline":"Exposure of unencrypted plaintext hash in github.com/aws/aws-sdk-go","id":"CVE-2022-2582","kev_date_added":null,"published":"2022-12-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"An attacker can exploit a server-side request forgery vulnerability in the AWS SDK XML parser to access internal resources or bypass security controls.","url":"https://insights.sbomify.com/CVE-2022-4725/"}