← Back
CWE-94

6,471 CVEs • Abstraction: Base • Likelihood of Exploit: Medium

Improper Control of Generation of Code ('Code Injection')

The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

JSON object

Loading...

CVEs (6,471)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
3Debian
FedoraprojectSmarty
3Debian Linux
FedoraSmarty
Nov 21, 2024
May 24, 2022
N/A· v4
8.8 HIGH· v3
6.5 MEDIUM· v2
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.45 and 4.1.1, template authors could inject php code by choosing a malicious {bloc...Show more
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.45 and 4.1.1, template authors could inject php code by choosing a malicious {block} name or {include} file name. Sites that cannot fully trust template authors should upgrade to versions 3.1.45 or 4.1.1 to receive a patch for this issue. There are currently no known workarounds.Show less
1Google
1Tensorflow
Nov 21, 2024
May 21, 2022
N/A· v4
7.8 HIGH· v3
4.6 MEDIUM· v2
TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, TensorFlow's `saved_model_cli` tool is vulnerable to a code injection. This can be used to open a reverse shel...Show more
TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, TensorFlow's `saved_model_cli` tool is vulnerable to a code injection. This can be used to open a reverse shell. This code path was maintained for compatibility reasons as the maintainers had several test cases where numpy expressions were used as arguments. However, given that the tool is always run manually, the impact of this is still not severe. The maintainers have now removed the `safe=False` argument, so all parsing is done without calling `eval`. The patch is available in versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4.Show less
1Weintek
16Cmt Ctrl01 Firmware
Cmt Fhd FirmwareCmt G01 Firmware+13 more
Nov 21, 2024
May 16, 2022
N/A· v4
9.8 CRITICAL· v3
10.0 HIGH· v2
The Weintek cMT product line is vulnerable to code injection, which may allow an unauthenticated remote attacker to execute commands with root privileges on the operation system.
1Publify Project
1Publify
Nov 21, 2024
May 16, 2022
N/A· v4
6.5 MEDIUM· v3
6.4 MEDIUM· v2
Code Injection in GitHub repository publify/publify prior to 9.2.8.
1Ionizecms
1Ionize
Nov 21, 2024
May 12, 2022
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
IonizeCMS v1.0.8.1 was discovered to contain a command injection vulnerability via the function copy_lang_content in application/models/lang_model.php.
1Pentest Collaboration Framework Project
1Pentest Collaboration Framework
Nov 21, 2024
May 11, 2022
N/A· v4
8.8 HIGH· v3
6.5 MEDIUM· v2
A Server Side Template Injection (SSTI) vulnerability in Pentest-Collaboration-Framework v1.0.8 allows an authenticated remote attacker to execute arbitrary code through /project/PROJECTNAME/reports/.
1Ejointech
3Acom508 Firmware
Acom516 FirmwareAcom532 Firmware
Nov 21, 2024
May 9, 2022
N/A· v4
8.8 HIGH· v3
9.0 HIGH· v2
Command injection vulnerability in Manual Ping Form (Web UI) in Shenzhen Ejoin Information Technology Co., Ltd. ACOM508/ACOM516/ACOM532 609-915-041-100-020 allows a remote attacker to inject arbitrary code via the field.
1Sourcegraph
1Sourcegraph
Nov 21, 2024
May 6, 2022
N/A· v4
7.2 HIGH· v3
6.0 MEDIUM· v2
Sourcegraph is a fast and featureful code search and navigation engine. Versions before 3.38.0 are vulnerable to Remote Code Execution in the gitserver service. The Gitolite code host integration with Phabricator allows...Show more
Sourcegraph is a fast and featureful code search and navigation engine. Versions before 3.38.0 are vulnerable to Remote Code Execution in the gitserver service. The Gitolite code host integration with Phabricator allows Sourcegraph site admins to specify a `callsignCommand`, which is used to obtain the Phabricator metadata for a Gitolite repository. An administrator who is able to edit or add a Gitolite code host and has administrative access to Sourcegraph’s bundled Grafana instance can change this command arbitrarily and run it remotely. This grants direct access to the infrastructure underlying the Sourcegraph installation. The attack requires: site-admin privileges on the instance of Sourcegraph, Administrative privileges on the bundled Grafana monitoring instance, Knowledge of the gitserver IP address or DNS name (if running in Kubernetes). This can be found through Grafana. The issue is patched in version 3.38.0. You may disable Gitolite code hosts. We still highly encourage upgrading regardless of workarounds.Show less
1Fluxcd
3Flux2
Helm ControllerKustomize Controller
Nov 21, 2024
May 6, 2022
N/A· v4
9.9 CRITICAL· v3
6.5 MEDIUM· v2
Flux2 is an open and extensible continuous delivery solution for Kubernetes. Flux2 versions between 0.1.0 and 0.29.0, helm-controller 0.1.0 to v0.19.0, and kustomize-controller 0.1.0 to v0.23.0 are vulnerable to Code Inj...Show more
Flux2 is an open and extensible continuous delivery solution for Kubernetes. Flux2 versions between 0.1.0 and 0.29.0, helm-controller 0.1.0 to v0.19.0, and kustomize-controller 0.1.0 to v0.23.0 are vulnerable to Code Injection via malicious Kubeconfig. In multi-tenancy deployments this can also lead to privilege escalation if the controller's service account has elevated permissions. Workarounds include disabling functionality via Validating Admission webhooks by restricting users from setting the `spec.kubeConfig` field in Flux `Kustomization` and `HelmRelease` objects. Additional mitigations include applying restrictive AppArmor and SELinux profiles on the controller’s pod to limit what binaries can be executed. This vulnerability is fixed in kustomize-controller v0.23.0 and helm-controller v0.19.0, both included in flux2 v0.29.0Show less
1Diagrams
1Drawio
Nov 21, 2024
May 5, 2022
N/A· v4
9.6 CRITICAL· v3
6.8 MEDIUM· v2
Arbitrary Code Execution through Sanitizer Bypass in GitHub repository jgraph/drawio prior to 18.0.0. - Arbitrary (remote) code execution in the desktop app. - Stored XSS in the web app.
1Jetbrains
1Pycharm
Nov 21, 2024
Apr 28, 2022
N/A· v4
7.7 HIGH· v3
4.4 MEDIUM· v2
In JetBrains Rider before 2022.1 local code execution via links in ReSharper Quick Documentation was possible
1Jetbrains
1Intellij Idea
Nov 21, 2024
Apr 28, 2022
N/A· v4
7.7 HIGH· v3
4.4 MEDIUM· v2
In JetBrains IntelliJ IDEA before 2022.1 local code execution via links in Quick Documentation was possible
1Jetbrains
1Intellij Idea
Nov 21, 2024
Apr 28, 2022
N/A· v4
6.7 MEDIUM· v3
4.6 MEDIUM· v2
In JetBrains IntelliJ IDEA before 2022.1 local code execution via workspace settings was possible
1Jetbrains
1Intellij Idea
Nov 21, 2024
Apr 28, 2022
N/A· v4
7.7 HIGH· v3
4.4 MEDIUM· v2
In JetBrains IntelliJ IDEA before 2022.1 local code execution via HTML descriptions in custom JSON schemas was possible
1Jetbrains
1Intellij Idea
Nov 21, 2024
Apr 28, 2022
N/A· v4
6.7 MEDIUM· v3
4.6 MEDIUM· v2
In JetBrains IntelliJ IDEA before 2022.1 local code execution via custom Pandoc path was possible
4Fedoraproject
NetappOracle+1 more
5Communications Operations Monitor
FedoraManagement Services For Element Software+2 more
Nov 21, 2024
Apr 27, 2022
N/A· v4
7.8 HIGH· v3
6.8 MEDIUM· v2
Redis is an in-memory database that persists on disk. By exploiting weaknesses in the Lua script execution environment, an attacker with access to Redis prior to version 7.0.0 or 6.2.7 can inject Lua code that will execu...Show more
Redis is an in-memory database that persists on disk. By exploiting weaknesses in the Lua script execution environment, an attacker with access to Redis prior to version 7.0.0 or 6.2.7 can inject Lua code that will execute with the (potentially higher) privileges of another Redis user. The Lua script execution environment in Redis provides some measures that prevent a script from creating side effects that persist and can affect the execution of the same, or different script, at a later time. Several weaknesses of these measures have been publicly known for a long time, but they had no security impact as the Redis security model did not endorse the concept of users or privileges. With the introduction of ACLs in Redis 6.0, these weaknesses can be exploited by a less privileged users to inject Lua code that will execute at a later time, when a privileged user executes a Lua script. The problem is fixed in Redis versions 7.0.0 and 6.2.7. An additional workaround to mitigate this problem without patching the redis-server executable, if Lua scripting is not being used, is to block access to `SCRIPT LOAD` and `EVAL` commands using ACL rules.Show less
1Ballcat
1Codegen
Nov 21, 2024
Apr 26, 2022
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
Ballcat Codegen provides the function of online editing code to generate templates. In versions prior to 1.0.0.beta.2, attackers can implement remote code execution through malicious code injection of the template engine...Show more
Ballcat Codegen provides the function of online editing code to generate templates. In versions prior to 1.0.0.beta.2, attackers can implement remote code execution through malicious code injection of the template engine. This happens because Velocity and freemarker templates are introduced but input verification is not done. The fault is rectified in version 1.0.0.beta.2.Show less
1Ejs
1Ejs
Nov 21, 2024
Apr 25, 2022
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
The ejs (aka Embedded JavaScript templates) package 3.1.6 for Node.js allows server-side template injection in settings[view options][outputFunctionName]. This is parsed as an internal option, and overwrites the outputFu...Show more
The ejs (aka Embedded JavaScript templates) package 3.1.6 for Node.js allows server-side template injection in settings[view options][outputFunctionName]. This is parsed as an internal option, and overwrites the outputFunctionName option with an arbitrary OS command (which is executed upon template compilation).Show less
1Ad Injection Project
1Ad Injection
Nov 21, 2024
Apr 18, 2022
N/A· v4
7.2 HIGH· v3
6.5 MEDIUM· v2
The Ad Injection WordPress plugin through 1.2.0.19 does not properly sanitize the body of the adverts injected into the pages, allowing a high privileged user (Admin+) to inject arbitrary HTML or javascript even with unf...Show more
The Ad Injection WordPress plugin through 1.2.0.19 does not properly sanitize the body of the adverts injected into the pages, allowing a high privileged user (Admin+) to inject arbitrary HTML or javascript even with unfiltered_html disallowed, leading to a stored cross-site scripting (XSS) vulnerability. Further it is also possible to inject PHP code, leading to a Remote Code execution (RCE) vulnerability, even if the DISALLOW_FILE_EDIT and DISALLOW_FILE_MOD constants are both set.Show less
1Geosolutionsgroup
1Jai Ext
Oct 24, 2025
Apr 13, 2022
N/A· v4
10.0 CRITICAL· v3
7.5 HIGH· v2
JAI-EXT is an open-source project which aims to extend the Java Advanced Imaging (JAI) API. Programs allowing Jiffle script to be provided via network request can lead to a Remote Code Execution as the Jiffle script is c...Show more
JAI-EXT is an open-source project which aims to extend the Java Advanced Imaging (JAI) API. Programs allowing Jiffle script to be provided via network request can lead to a Remote Code Execution as the Jiffle script is compiled into Java code via Janino, and executed. In particular, this affects the downstream GeoServer project. Version 1.2.22 will contain a patch that disables the ability to inject malicious code into the resulting script. Users unable to upgrade may negate the ability to compile Jiffle scripts from the final application, by removing janino-x.y.z.jar from the classpath.Show less