SCA: security update for pug, pug-code-gen (GHSA-3965-hpx2-q597)

medium Tenable Self-Hosted Container Security Plugin ID 409424

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Pug through 3.0.2 allows JavaScript code execution if an application accepts untrusted input for the name
option of the compileClient, compileFileClient, or compileClientWithDependenciesTracked function. NOTE:
these functions are for compiling Pug templates into JavaScript, and there would typically be no reason to
allow untrusted callers. (CVE-2024-36361)

See Also

https://github.com/advisories/GHSA-3965-hpx2-q597

Plugin Details

Severity: Medium

ID: 409424

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.58

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.1

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:N

CVSS Score Source: CVE-2024-36361

CVSS v3

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/24/2024

Vulnerability Publication Date: 5/24/2024

Reference Information

CVE: CVE-2024-36361

cwe: CWE-94