Submeter #550136: https://github.com/joelittlejohn/ https://github.com/joelittlejohn/jsonschema2pojo/ 1.2.2 Denial of Serviceinformação

Títulohttps://github.com/joelittlejohn/ https://github.com/joelittlejohn/jsonschema2pojo/ 1.2.2 Denial of Service
Descriçãofind a stackoverflow in https://github.com/joelittlejohn/jsonschema2pojo/ which may lead to a Denial of Service (DoS) via crafted JSON. when use mvn jsonschema2pojo:generate process a json like { "$ref": "#", "definitions": { "User": { "type": "string" } } } It will report an StackOverflowError , like --------------------------------------------------- Exception in thread "main" java.lang.StackOverflowError at java.net.URI.appendSchemeSpecificPart(URI.java:1909) at java.net.URI.toString(URI.java:1941) at java.net.URI.<init>(URI.java:817) at org.jsonschema2pojo.SchemaStore.create(SchemaStore.java:114) at org.jsonschema2pojo.rules.SchemaRule.apply(SchemaRule.java:69) at org.jsonschema2pojo.rules.SchemaRule.apply(SchemaRule.java:76) at org.jsonschema2pojo.rules.SchemaRule.apply(SchemaRule.java:76) BUG_Author:K1ling and fdt
Fonte⚠️ https://github.com/joelittlejohn/jsonschema2pojo/issues/1672
Utilizador
 kar3nk (UID 83682)
Submissão03/04/2025 09h35 (há 1 Ano)
Moderação14/04/2025 14h38 (11 days later)
EstadoAceite
Entrada VulDB304643 [joelittlejohn jsonschema2pojo 1.2.2 JSON File SchemaRule.java apply Excesso de tampão]
Pontos20

Want to know what is going to be exploited?

We predict KEV entries!