Draft in the CWE catalog · 2 CVEs mapped
The product does not properly handle the characters that are used to mark the beginning and ending of a group of entities, such as parentheses, brackets, and braces.
gradle-completion provides Bash and Zsh completion support for Gradle. A command injection vulnerability was found in gradle-completion up to and including 9.3.0 that allows arbitrary code execution when a user triggers Bash tab completion in a project containing a malicious Gradle build file. The `gradle-completion` script for Bash fails to adequately sanitize Gradle task names and task descriptions, allowing command injection via a malicious Gradle build file when the user completes a command in Bash (without them explicitly running any task in the build). For example, given a task description that includes a string between backticks, then that string would be evaluated as a command when presenting the task description in the completion list. While task execution is the core feature of Gradle, this inherent execution may lead to unexpected outcomes. The vulnerability does not affect zsh completion. The first patched version is 9.3.1. As a workaround, it is possible and effective to temporarily disable bash completion for Gradle by removing `gradle-completion` from `.bashrc` or `.bash_profile`.
🔥 Remote code execution at the hands of an attacker using the `/convert` endpoint? That’s a serious wake-up call! Think of this like a restaurant where anyone can walk in and place an order without verifying their identity. If they can request any dish, they can end up poisoning the entire menu! This vulnerability allows malicious requests that could lead to severe compromises if the Homarus microservice is publicly accessible. An attacker could exploit this vulnerability to run any command on your server, leading to data breaches, unauthorized access, and complete control over your system. Imagine the absolute devastation of losing sensitive information or worse, having your entire service taken hostage!