Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.shenyu/shenyu-common
  4. ›
  5. CVE-2021-45029

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

January 28, 2022 (updated January 31, 2022)

Groovy Code Injection & SpEL Injection which lead to Remote Code Execution. This issue affected Apache ShenYu 2.4.0 and 2.4.1.

References

  • www.openwall.com/lists/oss-security/2022/01/25/8
  • www.openwall.com/lists/oss-security/2022/01/26/1
  • github.com/advisories/GHSA-gh38-x2wm-xmc8
  • lists.apache.org/thread/3zzmwvg3012tg306x8o893fvdcssx639
  • nvd.nist.gov/vuln/detail/CVE-2021-45029

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.4.0 before 2.4.2

Fixed versions

  • 2.4.2

Solution

Upgrade to version 2.4.2 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/org.apache.shenyu/shenyu-common/CVE-2021-45029.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:14 +0000.