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

feat: #7095

Closed
AUK4GIT opened this issue Nov 24, 2023 · 2 comments · Fixed by #7101
Closed

feat: #7095

AUK4GIT opened this issue Nov 24, 2023 · 2 comments · Fixed by #7101

Comments

@AUK4GIT
Copy link

AUK4GIT commented Nov 24, 2023

Feature Request

Description

Vulnerability: Denial of Service in JSON-Java versions up to and including 20230618.  A bug in the parser means that an input string of modest size can lead to indefinite amounts of memory being used. 

Vulnerable Package

org.json/json:20230618

Location

Links

Identifiers

Links

Identifiers

Platform(s)

Android

Preferred Solution

Upgrade to version 20231013 or above.
File location:- capacitor/android/capacitor/build.gradle

Need a fix in capacitor@4 as well

Alternatives

Additional Context

@jcesarmobile
Copy link
Member

Note that it's a testImplementation dependency, so it doesn't affect user apps, it's only used for running capacitor tests, in which the json files are provided by us, so there is no vector of attack.

Copy link

ionitron-bot bot commented Dec 28, 2023

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Dec 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants