Code Injection in Pug - CVE-2024-36361
Published: February 3, 2025 / Updated: February 7, 2025
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to Pug allows JavaScript code execution if an application accepts untrusted input for the name option of the compileClient, compileFileClient, or compileClientWithDependenciesTracked function. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.
Affected software
DB2 Warehouse on Cloud Pak for Data
DB2 on Cloud Pak for Data
How to mitigate CVE-2024-36361
DB2 Warehouse on Cloud Pak for Data - update to 4.8.8
DB2 on Cloud Pak for Data - update to 4.8.8