Skip to content

Conversation

@AbhishekKumar9984
Copy link
Contributor

@AbhishekKumar9984 AbhishekKumar9984 commented Jul 10, 2025

Issue:
Resolved high-severity Denial of Service (DoS) vulnerabilities in the org.json:json library and related components. JSON-Java versions up to and including 20230618 included a parser flaw that permitted modestly sized inputs to consume excessive memory, while a stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 and org.json:json versions prior to 20230227 allowed attackers to trigger DoS through crafted JSON or XML payloads. These issues are associated with CVE-2022-45688 and CVE-2023-5072—both classified as high severity.

Root Cause:
Insufficient validation and lack of resource management in the parser exposed the system to stack overflows and memory exhaustion when processing maliciously structured input data.

Fix:
Upgraded org.json:json to secure version 20231013 to resolve both CVE-2022-45688 and CVE-2023-5072, ensuring improved input validation and robust resource limits to prevent DoS exploitation.

JIRA Ticket : https://cdap.atlassian.net/browse/PLUGIN-1904

@vikasrathee-cs vikasrathee-cs changed the title Fix: Vulnerability issues [PLUGIN-1904] Fix: Vulnerability issues Jul 15, 2025
Copy link
Contributor

@vikasrathee-cs vikasrathee-cs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sgarg-CS sgarg-CS requested a review from Sunish-Dahiya July 15, 2025 10:59
@psainics psainics merged commit b218ff4 into data-integrations:develop Jul 18, 2025
5 checks passed
sgarg-CS pushed a commit to cloudsufi/servicenow-plugins that referenced this pull request Jul 24, 2025
…ix-abhishek

[PLUGIN-1904] Fix: Vulnerability issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants