-
Notifications
You must be signed in to change notification settings - Fork 97
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
[SP-6635] Backport of PPP-4895 - Vulnerable Component: Jettison #709
Conversation
niehusa
commented
Nov 27, 2024
•
edited by jira
bot
Loading
edited by jira
bot
- PPP-4895 Exclude jettison in metaverse-plugin assembly.xml
- PPP-4895 Exclude jettison in pentaho-metaverse plugin
- [PPP-4895] Exclude jettison in metaverse-plugin assembly.xml - [PPP-4895] Exclude jettison in pentaho-metaverse plugin
Quality Gate passedIssues Measures |
📦 Vulnerable Dependencies✍️ Summary
🔬 Research Details[ CVE-2023-1436 ] org.codehaus.jettison:jettison 1.1Description: [ CVE-2023-1436 ] org.codehaus.jettison:jettison 1.1Description: [ CVE-2022-40149 ] org.codehaus.jettison:jettison 1.1Description: [ CVE-2022-40150 ] org.codehaus.jettison:jettison 1.1Description: [ CVE-2022-45685 ] org.codehaus.jettison:jettison 1.1Description: When the To exploit this issue, the attacker must find an input that propagates to the String s="{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{... (Repeat many times)";
new JSONObject(s); Remediation: Development mitigationsThis issue can be mitigated by checking the nested depth of the input JSON before passing it to the
Development mitigationsWrap the try {
JSONObject jsonObject=new JSONObject(map);
}
catch(StackOverflowError e) {
System.err.println("ERROR: Stack limit reached");
} [ CVE-2022-45693 ] org.codehaus.jettison:jettison 1.1Description: When the The attackers must still find an input that propagates either to the HashMap<String,Object> map=new HashMap<>();
map.put("t",map);
JSONObject jsonObject=new JSONObject(map); Remediation: Development mitigationsWrap the try {
JSONObject jsonObject=new JSONObject(map);
}
catch(StackOverflowError e) {
System.err.println("ERROR: Stack limit reached");
} Note:Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system. |
❌ Build failed in 11m 19sBuild command: mvn clean verify -B -e -Daudit -Djs.no.sandbox -pl \
api,assemblies/plugin,core 👌 All tests passed! Tests run: 1066, Failures: 0, Skipped: 0 Test Results ℹ️ This is an automatic message |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consistent with the original PRs (pentaho-metaverse#695 and pentaho-metaverse#707).