Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @asyncapi/java-spring-cloud-stream-template
  4. ›
  5. CVE-2021-37694

CVE-2021-37694: Improper Control of Generation of Code ('Code Injection')

August 25, 2021

@asyncapi/java-spring-cloud-stream-template generates a Spring Cloud Stream (SCSt) microservice. 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.

References

  • github.com/advisories/GHSA-xj6r-2jpm-qvxp
  • github.com/asyncapi/java-spring-cloud-stream-template/security/advisories/GHSA-xj6r-2jpm-qvxp
  • nvd.nist.gov/vuln/detail/CVE-2021-37694

Code Behaviors & Features

Detect and mitigate CVE-2021-37694 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.6.9

Fixed versions

  • 0.7.0

Solution

Upgrade to version 0.7.0 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/@asyncapi/java-spring-cloud-stream-template/CVE-2021-37694.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:54 +0000.