jsonrpc4j has Infinite Loop in RPC Stream WriterGHSA-hcx3-3q5c-r5v6
Fix: briandilley/jsonrpc4j#333GHSA-hcx3-3q5c-r5v6 is a CWE-835 vulnerability in com.github.briandilley.jsonrpc4j:jsonrpc4j. A fix is available for com.github.briandilley.jsonrpc4j:jsonrpc4j — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-hcx3-3q5c-r5v6.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
com.github.briandilley.jsonrpc4j:jsonrpc4jReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in briandilley jsonrpc4j (src/main/java/com/googlecode/jsonrpc4j modules). This vulnerability is associated with program files NoCloseOutputStream.Java.
This issue affects jsonrpc4j: through 1.6.0.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.github.briandilley.jsonrpc4j:jsonrpc4j | all versions | 1.7.0com.github.briandilley.jsonrpc4j:jsonrpc4j:1.7.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.github.briandilley.jsonrpc4j:jsonrpc4j, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.github.briandilley.jsonrpc4j:jsonrpc4j to 1.7.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-hcx3-3q5c-r5v6 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-hcx3-3q5c-r5v6 in your dependencies?
Find it across Maven, including transitive dependencies.