
simple application with a CVE-2022-45688 vulnerability
The project illustrates CVE-2022-45688 in json.org -- there is a simple application
XML2JSONConverter to read XML from input, convert it to JSON and
pretty-print it to the console.
Using malicious input, the application crashes with a stackoverflow.
The test case CVE202245688Test illustrates this behaviour, it
can be executed by running mvn test.
There are several sh scripts to run different analyses, result resports can be found in scan-results.
The pom.xml has a plugin to generate a SBOM in CycloneDX format.
To do this, run mvn cyclonedx:makePackageBom, the SBOM can be found in
target/ in json and xml format.