Skip to content
OpenAdvisories
Medium · 4.0 Public exploit CVE-2024-33883 EUVD-2024-1209GHSA-ghr5-ch3p-vcr6

ejs lacks certain pollution protection

Published Apr 28, 2024 · Updated Aug 2, 2024 · Assigned by mitre

Description

The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-ejs 3.1.10+~3.1.5-1 —
Debian 13 node-ejs 3.1.10+~3.1.5-1 —
Debian 12 node-ejs No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS node-ejs No fix yet —
Ubuntu 22.04 LTS node-ejs No fix yet —
Ubuntu 20.04 LTS node-ejs No fix yet —
Ubuntu 18.04 LTS node-ejs No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling lerna 8.1.3-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm ejs < 3.1.10 3.1.10 GHSA-ghr5-ch3p-vcr6

Advisories 5

References