Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix critical vulnerability CVE-2022-4725 flagged by Sonarqube on dependency: aws-android-sdk-mobile-client 2.22.1 #424

Closed
AlexRs2023 opened this issue Jan 17, 2024 · 2 comments

Comments

@AlexRs2023
Copy link

Latest version of the library still references an old version of aws-android-sdk-mobile-client 2.22.1 which still exposes CVE-2022-4725 vulnerability.

To Reproduce

  1. Go to aws-android-sdk-appsync maven repository
  2. Click on aws-android-sdk-appsync v3.4.1 maven repository
  3. Scroll down to aws-android-sdk-mobile-client v2.22.1
  4. Navigate to dependency aws-android-sdk-mobile-client maven repository
  5. See vulnerability shown.

Expected behavior

Latest Sdk should use an updated version of dependency that addresses this vulnerability. At least aws-android-sdk-mobile-client v2.59.1

Screenshots
N/A

Environment(please complete the following information):
N/A

Device Information (please complete the following information):
N/A

Additional context
Add any other context about the problem here.

@tjleing
Copy link
Contributor

tjleing commented Jan 17, 2024

Thank you for reaching out regarding CVE-2022-4725. We can confirm that AWS SDK for Android is not affected by this CVE. The Android OS’s XML parser is a modified version of Java’s XML parser and it does not evaluate DTDs automatically. Therefore, XXE attacks are unsuccessful in Android OS’s XML parser. Please note that a previous fix for this CVE was reverted [1] after we confirmed that AWS SDK for Android is not affected.

[1] aws-amplify/aws-sdk-android#3353

@tjleing tjleing closed this as completed Jan 17, 2024
@AlexRs2023
Copy link
Author

Hi @tjleing thank you so much for the prompt response i appreciate it. I will let me team know this is not a concern.

Thanks and have a great day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants