CVE-2025-53542

Headlamp is an extensible Kubernetes web UI. A command injection vulnerability was discovered in the codeSign.js script used in the macOS packaging workflow of the Kubernetes Headlamp project. This issue arises due to the improper use of Node.js's execSync() function with unsanitized input derived from environment variables, which can be influenced by an attacker. The variables ${teamID}, ${entitlementsPath}, and ${config.app} are dynamically derived from the environment or application config and passed directly to the shell command without proper escaping or argument separation. This exposes the system to command injection if any of the values contain malicious input. This vulnerability is fixed in 0.31.1.
Configurations

No configuration.

History

15 Jul 2025, 13:14

Type Values Removed Values Added
Summary
  • (es) Headlamp es una interfaz web extensible de Kubernetes. Se descubrió una vulnerabilidad de inyección de comandos en el script codeSign.js utilizado en el flujo de trabajo de empaquetado de macOS del proyecto Headlamp de Kubernetes. Este problema surge debido al uso indebido de la función execSync() de Node.js con entradas no depuradas derivadas de variables de entorno, que pueden ser influenciadas por un atacante. Las variables ${teamID}, ${entitlementsPath} y ${config.app} se derivan dinámicamente de la configuración del entorno o la aplicación y se pasan directamente al comando de shell sin el escape ni la separación de argumentos adecuados. Esto expone el sistema a la inyección de comandos si alguno de los valores contiene información maliciosa. Esta vulnerabilidad se corrigió en la versión 0.31.1.

10 Jul 2025, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-10 19:15

Updated : 2025-07-15 13:14


NVD link : CVE-2025-53542

Mitre link : CVE-2025-53542

CVE.ORG link : CVE-2025-53542


JSON object : View

Products Affected

No product.

CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-88

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')