CVE-2021-37694 json
Code injection issue for java-spring-cloud-stream-template
published 2021-08-11 5 y ago modified 2026-07-08 4 mo ago also GHSA-xj6r-2jpm-qvxp , EUVD-2021-1933
- cvss
- 8.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
@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.
Patch / fix
- npm @asyncapi/java-spring-cloud-stream-template 0.7.0
- asyncapi java-spring-cloud-stream-template 0.7.0
Exploit prediction
0.88% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/asyncapi/java-spring-cloud-stream-template/security/advisories/GHSA-xj6r-2jpm-qvxp referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @asyncapi/java-spring-cloud-stream-template | <0.7.0 |
0.7.0 |
Affected products
- asyncapi java-spring-cloud-stream-template
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/asyncapi/java-spring-cloud-stream-template/security/advisories/GHSA-xj6r-2jpm-qvxp
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-37694
advisory
-
github.com
/asyncapi/java-spring-cloud-stream-template
package
Sources
- CVE List CVE-2021-37694
- GitHub Advisory GHSA-xj6r-2jpm-qvxp
- NVD CVE-2021-37694
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.