CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NHigh (7.5). EPSS 14% estimated probability of exploitation activity in the next 30 days. Fixed in moment 2.29.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Nmoment (npm): fixed in 2.29.2Moment.js (NuGet): fixed in 2.29.2Explain CVE-2022-24785 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24785?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24785?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-24785 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| momentjs:moment | from 1.0.1 before 2.29.2 |
| tenable:tenable.sc | before 5.21.0 |
| fedoraproject:fedora | 35 |
| fedoraproject:fedora | 36 |
| debian:debian_linux | 10.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-8hfj-j24r-96c4 | npm | moment | <2.29.2 | 2.29.2 |
| GHSA-8hfj-j24r-96c4 | NuGet | Moment.js | <2.29.2 | 2.29.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | node-moment | 2.24.0+ds-1+deb10u1 | DLA-3295-1 |
| Debian | 12, 13, 14 | node-moment | 2.29.2+ds-1 | DEBIAN-CVE-2022-24785 |
| Ubuntu | 16.04:LTS | nikola | no fix listed | UBUNTU-CVE-2022-24785 |
| Ubuntu | 18.04:LTS | node-moment | 2.20.1+ds-1ubuntu0.1 | UBUNTU-CVE-2022-24785 USN-5559-1 |
| Ubuntu | 20.04:LTS | node-moment | 2.24.0+ds-2ubuntu0.1 | UBUNTU-CVE-2022-24785 USN-5559-1 |
| Ubuntu | 22.04:LTS | node-moment | 2.29.1+ds-3ubuntu0.2 | UBUNTU-CVE-2022-24785 USN-5559-1 |
| Ubuntu | Pro:16.04:LTS | node-moment | 2.11.0+ds-1ubuntu0.1~esm2 | UBUNTU-CVE-2022-24785 USN-9117-1 |
| Red Hat | ceph_storage:5.3::el8 | ceph, cephadm, librbd1 and 67 more | 2:16.2.10-94.el8cp | RHSA-2023:0076 |
| Red Hat | ceph_storage:5.3::el9 | ceph, cephadm, librbd1 and 50 more | 2:16.2.10-94.el9cp | RHSA-2023:0076 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-activemq-artemis, eap7-activemq-artemis-ra, eap7-activemq-artemis-cli and 13 more | 0:2.16.0-9.redhat_00042.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-h2database | 0:1.4.197-2.redhat_00004.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-hal-console | 0:3.3.12-1.Final_redhat_00001.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jackson-databind | 0:2.12.6.1-1.redhat_00003.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-jboss-xnio-base | 0:3.8.7-1.SP1_redhat_00001.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-netty, eap7-netty-all, eap7-netty-codec and 25 more | 0:4.1.72-4.Final_redhat_00001.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-undertow | 0:2.2.17-2.SP4_redhat_00001.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs and 2 more | 0:7.4.5-3.GA_redhat_00001.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-wildfly-http-client, eap7-wildfly-http-ejb-client, eap7-wildfly-http-client-common and 2 more | 0:1.1.11-1.SP1_redhat_00001.1.el7eap | RHSA-2022:4918 |
| Red Hat | jboss_enterprise_application_platform:7.4::el7 | eap7-xerces-j2 | 0:2.12.0-3.SP04_redhat_00001.1.el7eap | RHSA-2022:4918 |
| 31 more for Red Hat in the JSON and on Red Hat's page. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Moderate.
In Quay 3.10 and above, no version of affected momentjs is present.
Sanitize the user-provided locale name before passing it to Moment.js.
| Product | Package | State | Advisory |
|---|---|---|---|
| OpenShift Service Mesh 2.0 | servicemesh-prometheus-0:2.14.0-18.el8.1 | Fixed 2022-08-31 | RHSA-2022:6272 |
| OpenShift Service Mesh 2.1 | openshift-service-mesh/kiali-rhel8:1.36.10-2 | Fixed 2022-06-13 | RHSA-2022:5006 |
| OpenShift Service Mesh 2.1 | servicemesh-prometheus-0:2.23.0-9.el8 | Fixed 2022-08-31 | RHSA-2022:6277 |
| Red Hat Ceph Storage 5.3 | ceph-2:16.2.10-94.el8cp | Fixed 2023-01-11 | RHSA-2023:0076 |
| Red Hat Ceph Storage 6.1 | rhceph/rhceph-6-dashboard-rhel9:6-75 | Fixed 2023-06-15 | RHSA-2023:3642 |
| Red Hat Fuse 7.11.1 | Moment.js | Fixed 2022-11-28 | RHSA-2022:8652 |
| Red Hat Fuse 7.12 | Fixed 2023-06-29 | RHSA-2023:3954 | |
| Red Hat JBoss Enterprise Application Platform | org.jboss.hal/hal-console:3.3.12.Final-redhat-00001 | Fixed 2022-06-06 | RHSA-2022:4922 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-activemq-artemis-0:1.5.5.016-1.redhat_00001.1.ep7.el7 | Fixed 2025-04-28 | RHSA-2025:4226 |
| Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 | eap7-artemis-native-1:1.5.5.016-1.redhat_00001.1.ep7.el7 | Fixed 2025-04-28 | RHSA-2025:4226 |
| OpenShift Service Mesh 2.0 | kiali | Affected | |
| OpenShift Service Mesh 2.0 | servicemesh-grafana | Affected | |
| OpenShift Service Mesh 2.1 | servicemesh-grafana | Will not fix | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/apicast-rhel7-operator | Affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/apicast-rhel7-operator-metadata | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/application-ui-rhel8 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-api-rhel8 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-header-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-rhel8 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-ui-rhel8 | Fix deferred | |
| 69 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-24785.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.