CVE-2024-21528 json
node-gettext vulnerable to Prototype Pollution
published 2024-09-10 2 y ago modified 2026-06-17 4 mo ago also GHSA-g974-hxvm-x689 , EUVD-2024-2797
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
All versions of the package node-gettext are vulnerable to Prototype Pollution via the addTranslations() function in gettext.js due to improper user input sanitization.
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-21528 updated cvss 5.9
node-gettext: Prototype Pollution
-
Red Hat OpenShift Container Platform 4 openshift4/ose-console Red Hat Openshift Data Foundation 4 odf4/odf-console-rhel9, odf4/ocs-client-console-rhel9, odf4/odf-multicluster-console-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Virtualization 4 container-native-virtualization/kubevirt-console-plugin, container-native-virtualization/kubevirt-console-plugin-rhel9affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat RHODF 4.15 for RHEL 9 odf4/odf-console-rhel9 v4.15.12-1fixed: vendor fix RHSA-2025:1865
-
Red Hat RHODF 4.16 for RHEL 9 odf4/odf-console-rhel9 v4.16.8-1, odf4/ocs-client-console-rhel9 v4.16.8-1, odf4/odf-multicluster-console-rhel9 v4.16.8-1fixed: vendor fix RHSA-2025:1829
-
Red Hat RHODF 4.17 for RHEL 9 odf4/odf-console-rhel9 v4.17.5-1fixed: vendor fix RHSA-2025:1824
-
Red Hat RHODF 4.18 for RHEL 9 odf4/odf-console-rhel9 v4.18.0-65, odf4/ocs-client-console-rhel9 v4.18.0-65, odf4/odf-multicluster-console-rhel9 v4.18.0-64fixed: vendor fix RHSA-2025:2652
-
Red Hat RHODF 4.15 for RHEL 9 odf4/cephcsi-rhel9 v4.15.12-1, odf4/odf-cli-rhel9 v4.15.12-1, odf4/mcg-core-rhel9 v4.15.12-1, odf4/mcg-rhel9-operator v4.15.12-1, odf4/ocs-rhel9-operator v4.15.12-1, odf4/odf-rhel9-operator v4.15.12-1, +19 more Red Hat RHODF 4.16 for RHEL 9 odf4/cephcsi-rhel9 v4.16.8-1, odf4/odf-cli-rhel9 v4.16.8-1, odf4/mcg-core-rhel9 v4.16.8-1, odf4/mcg-rhel9-operator v4.16.8-1, odf4/ocs-rhel9-operator v4.16.8-1, odf4/odf-rhel9-operator v4.16.8-1, +20 more Red Hat RHODF 4.17 for RHEL 9 odf4/cephcsi-rhel9 v4.17.5-2, odf4/odf-cli-rhel9 v4.17.5-2, odf4/mcg-core-rhel9 v4.17.5-2, odf4/mcg-rhel9-operator v4.17.5-2, odf4/ocs-rhel9-operator v4.17.5-2, odf4/odf-rhel9-operator v4.17.5-2, +24 more Red Hat RHODF 4.18 for RHEL 9 odf4/cephcsi-rhel9 v4.18.0-54, odf4/odf-cli-rhel9 v4.18.0-40, odf4/mcg-core-rhel9 v4.18.0-80, odf4/mcg-rhel9-operator v4.18.0-35, odf4/ocs-rhel9-operator v4.18.0-85, odf4/odf-rhel9-operator v4.18.0-29, +23 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | node-gettext | <=3.0.0 |
no fix listed |
Affected products
- n/a node-gettext
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
security.snyk.io
/vuln/SNYK-JS-NODEGETTEXT-6100943
web
- github.com /alexanderwallin/node-gettext/blob/65d9670f691c2eeca40dce129c95bcf8b613d344/lib/gettext.js%23L113
-
nvd.nist.gov
/vuln/detail/CVE-2024-21528
advisory
-
github.com
/alexanderwallin/node-gettext
package
-
github.com
/alexanderwallin/node-gettext/blob/65d9670f691c2eeca40dce129c95bcf8b613d344/lib/gettext.js#L113
web
Sources
- CVE List CVE-2024-21528
- GitHub Advisory GHSA-g974-hxvm-x689
- NVD CVE-2024-21528
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.