Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-47855: n/a

0
Medium
VulnerabilityCVE-2024-47855cvecve-2024-47855
Published: Fri Oct 04 2024 (10/04/2024, 00:00:00 UTC)
Source: CVE Database V5

Description

util/JSONTokener.java in JSON-lib before 3.1.0 mishandles an unbalanced comment string.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/28/2026, 07:34:16 UTC

Technical Analysis

CVE-2024-47855 is a vulnerability identified in the JSON-lib library, specifically in the util/JSONTokener.java class before version 3.1.0. The issue arises from the mishandling of unbalanced comment strings within JSON data parsing. JSONTokener is responsible for tokenizing JSON input, and improper parsing of comments can cause the parser to enter an unexpected state, potentially leading to resource exhaustion or application crashes. This vulnerability does not affect confidentiality or integrity but impacts availability by enabling denial of service conditions. The CVSS 3.1 base score is 5.3, reflecting a medium severity with network attack vector, low attack complexity, no privileges required, no user interaction, and unchanged scope. No known exploits have been reported, and no official patches are currently linked, but the fix is expected in version 3.1.0 or later. This vulnerability is relevant for any Java applications that use JSON-lib for JSON parsing, especially those exposed to untrusted input over the network. Attackers can exploit this by sending specially crafted JSON payloads containing malformed or unbalanced comment strings, causing the parser to fail or consume excessive resources.

Potential Impact

The primary impact of CVE-2024-47855 is denial of service, which can disrupt application availability and potentially cause service outages. Organizations relying on JSON-lib for JSON parsing in Java applications, particularly those exposed to external or untrusted inputs, risk application crashes or degraded performance. This can affect web services, APIs, and backend systems that process JSON data. While the vulnerability does not compromise data confidentiality or integrity, the availability impact can lead to operational downtime, loss of customer trust, and potential financial losses. Systems with high availability requirements or critical infrastructure components using affected versions are particularly vulnerable to service interruptions. Since exploitation requires no authentication or user interaction, attackers can remotely trigger the issue, increasing the risk of automated or large-scale attacks.

Mitigation Recommendations

To mitigate CVE-2024-47855, organizations should: 1) Upgrade JSON-lib to version 3.1.0 or later once the patch is officially released to ensure the vulnerability is addressed. 2) Implement strict input validation and sanitization on all JSON inputs, especially those containing comments, to detect and reject malformed or unbalanced comment strings before parsing. 3) Employ runtime monitoring and anomaly detection to identify unusual resource consumption or application crashes related to JSON parsing. 4) Use application-layer firewalls or API gateways to filter and block suspicious JSON payloads from untrusted sources. 5) Conduct thorough testing of JSON parsing components under malformed input scenarios to verify robustness. 6) Maintain up-to-date inventory of software dependencies to quickly identify and remediate vulnerable library versions. These steps go beyond generic advice by focusing on proactive input validation and layered defenses to reduce exposure until patches are applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2024-10-04T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6d09b7ef31ef0b56d63c

Added to database: 2/25/2026, 9:43:37 PM

Last enriched: 2/28/2026, 7:34:16 AM

Last updated: 4/12/2026, 10:32:17 AM

Views: 22

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses