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 gson dependency vulnerability #687

Closed
KacperKluka opened this issue Jun 13, 2022 · 1 comment · Fixed by #693
Closed

Fix gson dependency vulnerability #687

KacperKluka opened this issue Jun 13, 2022 · 1 comment · Fixed by #693
Assignees
Labels
bug Something isn't working. It's clear that this does need to be fixed.

Comments

@KacperKluka
Copy link
Contributor

KacperKluka commented Jun 13, 2022

We've received the below information about the SDK:

gson - Deserialization of Untrusted Data. The application deserializes untrusted data without sufficiently verifying that the resulting data will be valid.

We should fix it and validate the data before deserializing.
According to this website, the problem is with the gson dependency version and not our code. We are transitively using the gson in version 2.8.6 from the ably-android dependency. After it gets upgraded to at least 2.8.9 the problem should be fixed, so after ably/ably-java#777 is resolved and a new ably-android SDK version is released we should update it in the AAT project.

┆Issue is synchronized with this Jira Task by Unito

@KacperKluka KacperKluka added the bug Something isn't working. It's clear that this does need to be fixed. label Jun 13, 2022
@QuintinWillison
Copy link
Contributor

This is now ready to work on as ably-android version 1.2.13 has been released.

@KacperKluka KacperKluka linked a pull request Jun 17, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. It's clear that this does need to be fixed.
Development

Successfully merging a pull request may close this issue.

2 participants