Code-generation crash via recursive root reference resolution
Published Apr 14, 2025 · Updated Apr 14, 2025
Denial of service in jsonschema2pojo 1.2.2 allows local users to crash code generation by processing a crafted JSON Schema. In SchemaRule.apply, a root $ref value of # resolves to the same schema, and the method calls itself again because that schema is never marked generated. The user must be able to supply a schema to a local Maven, CLI, or embedded invocation; the resulting StackOverflowError terminates that generation process without a demonstrated cross-process impact.
Summary
What happened
Denial of service in jsonschema2pojo 1.2.2 allows local users to crash code generation by processing a crafted JSON Schema. In SchemaRule.apply, a root $ref value of # resolves to the same schema, and the method calls itself again because that schema is never marked generated. The user must be able to supply a schema to a local Maven, CLI, or embedded invocation; the resulting StackOverflowError terminates that generation process without a demonstrated cross-process impact.
The record
- CVE
- CVE-2025-3588
- Published
- Apr 14, 2025
- Updated
- Apr 14, 2025
- Vendor
- Joe Littlejohn
- Product
- jsonschema2pojo
- Classifications
- CWE-121, CWE-119, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 14, 2025CVE publishedPublication date reported by the CVE source.
- Apr 14, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.2.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Root self-reference StackOverflowError reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo