# CVE-2021-37694: Code injection issue for java-spring-cloud-stream-template

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-11T17:25:09.000Z
- Modified: 2026-07-08T06:28:21.063Z
- Also known as: GHSA-xj6r-2jpm-qvxp
- Weaknesses: CWE-94
- Assigned by: GitHub_M

## Description

@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.

(As written by CVE List.)

## Affected

- asyncapi java-spring-cloud-stream-template: < 0.7.0; before 0.7.0
- @asyncapi/java-spring-cloud-stream-template (npm): before 0.7.0

## Every score

- GitHub_M: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/asyncapi/java-spring-cloud-stream-template/security/advisories/GHSA-xj6r-2jpm-qvxp> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-37694> (advisory)
- <https://github.com/asyncapi/java-spring-cloud-stream-template> (package)

## Sources

- CVE List: [CVE-2021-37694](https://www.cve.org/CVERecord?id=CVE-2021-37694), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-xj6r-2jpm-qvxp](https://github.com/advisories/GHSA-xj6r-2jpm-qvxp), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-37694](https://nvd.nist.gov/vuln/detail/CVE-2021-37694), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-37694 · Whole record: https://cve.day/CVE-2021-37694.json · Rebuilt by cve.day 2026-11-25T22:58:03.130Z
