{"id":"CVE-2021-37694","published":"2021-08-11T17:25:09Z","modified":"2024-08-04T01:23:01Z","title":"Code injection issue for java-spring-cloud-stream-template","vendor":"asyncapi","product":"java-spring-cloud-stream-template","tier":"tail","description":{"text":"@asyncapi/java-spring-cloud-stream-template generates a Spring Cloud Stream (SCSt) microservice. In versions prior to 0.7.0 arbitrary code injection was possible when an attacker controls the AsyncAPI document. An example is provided in GHSA-xj6r-2jpm-qvxp. There are no mitigations available and all users are advised to update.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00877,"percentile":0.59894,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/asyncapi/java-spring-cloud-stream-template/security/advisories/GHSA-xj6r-2jpm-qvxp","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":11.98},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"asyncapi","affectedVersions":[{"vendor":"asyncapi","product":"java-spring-cloud-stream-template","versions":["< 0.7.0"]}],"affected":[{"ecosystem":"npm","package":"@asyncapi/java-spring-cloud-stream-template","vulnerableRanges":["<0.7.0"],"patched":["0.7.0"],"from":["GHSA-xj6r-2jpm-qvxp"],"provenance":"source"}],"summary":{"text":"The java-spring-cloud-stream-template component of the asyncapi java-spring-cloud-stream-template product, which generates Spring Cloud Stream microservices, contains a code injection flaw in versions prior to 0.7.0 that lets arbitrary code be injected when an attacker controls the AsyncAPI document it processes. Exploitation requires that the attacker be able to supply or control that AsyncAPI document and that the generator be run against it, with high privileges needed to do so.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:40Z"},"euvd":{"id":"EUVD-2021-1933","exploited":false,"provenance":"source"}}