{"id":"EUVD-2022-1677","revision":null,"records":[{"revision":"ceb8389dbfc642a1b2c150698332ee90","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2022-24785","aliases":[],"title":"Path Traversal in Moment.js","description":"Moment.js is a JavaScript date library for parsing, validating, manipulating, and formatting dates. A path traversal vulnerability impacts npm (server) users of Moment.js between versions 1.0.1 and 2.29.1, especially if a user-provided locale string is directly used to switch moment locale. This problem is patched in 2.29.2, and the patch can be applied to all affected versions. As a workaround, sanitize the user-provided locale name before passing it to Moment.js.","state":0,"publishedAt":"2022-04-04T00:00:00+00:00","modifiedAt":"2025-11-03T21:46:06.689+00:00","affected":[{"ecosystem":"Vendor product","name":"moment","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"moment\",\n                    \"product\": \"moment\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 1.0.1, < 2.29.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4","https://github.com/moment/moment/commit/4211bfc8f15746be4019bba557e29a7ba83d54c5","https://www.tenable.com/security/tns-2022-09","https://security.netapp.com/advisory/ntap-20220513-0006/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6QIO6YNLTK2T7SPKDS4JEL45FANLNC2Q/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ORJX2LF6KMPIHP6B2P6KZIVKMLE3LVJ5/","https://lists.debian.org/debian-lts-announce/2023/01/msg00035.html"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2022-24785","license":"CVE Program Terms of Use","key":"cve-program:CVE-2022-24785","identifiers":["CVE-2022-24785"]},"retained":false,"historicalAffected":[]},{"revision":"9aa3a574b5c045ceab0117c0dbd97d19","observedAt":"2026-11-18T02:26:33.045+00:00","statement":{"source":"euvd","id":"EUVD-2022-1677","aliases":["CVE-2022-24785","GHSA-8hfj-j24r-96c4"],"title":"Moment.js is a JavaScript date library for parsing, validating, manipulating, and formatting dates. A path traversal vulnerability impacts npm (server) users of Moment.js between versions 1.0.1 and 2.29.1, especially if a user-provided loca…","description":"Moment.js is a JavaScript date library for parsing, validating, manipulating, and formatting dates. A path traversal vulnerability impacts npm (server) users of Moment.js between versions 1.0.1 and 2.29.1, especially if a user-provided locale string is directly used to switch moment locale. This problem is patched in 2.29.2, and the patch can be applied to all affected versions. As a workaround, sanitize the user-provided locale name before passing it to Moment.js.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":null}],"references":["https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4","https://github.com/moment/moment/commit/4211bfc8f15746be4019bba557e29a7ba83d54c5","https://www.tenable.com/security/tns-2022-09","https://security.netapp.com/advisory/ntap-20220513-0006/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6QIO6YNLTK2T7SPKDS4JEL45FANLNC2Q/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ORJX2LF6KMPIHP6B2P6KZIVKMLE3LVJ5/","https://lists.debian.org/debian-lts-announce/2023/01/msg00035.html"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-1677","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Apr 4, 2022, 12:00:00 AM","dateUpdated":"Nov 3, 2025, 9:46:06 PM"},"relatedAdvisories":[{"id":"RHSA-2022:5392","title":"Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.3.11 security updates and bug fixes","vulnerabilityIds":["CVE-2022-0235","CVE-2022-0536","CVE-2022-21803","CVE-2022-23806","CVE-2022-24785","CVE-2022-29526","CVE-2022-29810"]},{"id":"RHSA-2022:7055","title":"Red Hat Security Advisory: RHOSDT 2.6.0 operator/operand containers Security Update","vulnerabilityIds":["CVE-2021-3918","CVE-2022-0536","CVE-2022-1650","CVE-2022-24785","CVE-2022-31129"]},{"id":"RHSA-2022:4956","title":"Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.5 security updates, images, and bug fixes","vulnerabilityIds":["CVE-2021-3918","CVE-2021-41190","CVE-2021-43565","CVE-2021-43816","CVE-2021-43858","CVE-2022-0235","CVE-2022-0778","CVE-2022-21803","CVE-2022-23806","CVE-2022-24450","CVE-2022-24778","CVE-2022-24785","CVE-2022-27191","CVE-2022-29810"]},{"id":"RHSA-2022:6272","title":"Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.0.11 security update","vulnerabilityIds":["CVE-2022-24785","CVE-2022-31129"]},{"id":"WID-SEC-W-2022-0288","title":"Red Hat OpenShift: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2022-23806","CVE-2022-24675","CVE-2022-28327","CVE-2022-29224","CVE-2022-29225","CVE-2022-29226","CVE-2022-29228","CVE-2022-31045","CVE-2022-1650","CVE-2022-24785"]},{"id":"RHSA-2023:1043","title":"Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 security update on RHEL 7","vulnerabilityIds":["CVE-2018-14040","CVE-2018-14042","CVE-2019-11358","CVE-2020-11022","CVE-2020-11023","CVE-2021-35065","CVE-2021-44906","CVE-2022-1274","CVE-2022-1438","CVE-2022-1471","CVE-2022-2764","CVE-2022-3916","CVE-2022-4137","CVE-2022-24785","CVE-2022-25857","CVE-2022-31129","CVE-2022-37603","CVE-2022-38749","CVE-2022-38750","CVE-2022-38751","CVE-2022-40149","CVE-2022-40150","CVE-2022-42003","CVE-2022-42004","CVE-2022-45047","CVE-2022-45693","CVE-2022-46175","CVE-2022-46363","CVE-2022-46364","CVE-2023-0091","CVE-2023-0264"]},{"id":"RHSA-2022:5006","title":"Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.1.3 Containers security update","vulnerabilityIds":["CVE-2022-1650","CVE-2022-23806","CVE-2022-24675","CVE-2022-24785","CVE-2022-28327"]},{"id":"RHSA-2023:1047","title":"Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 for OpenShift image security and enhancement update","vulnerabilityIds":["CVE-2018-14040","CVE-2018-14042","CVE-2019-11358","CVE-2020-11022","CVE-2021-35065","CVE-2021-44906","CVE-2022-1274","CVE-2022-1438","CVE-2022-1471","CVE-2022-2764","CVE-2022-3782","CVE-2022-3916","CVE-2022-4039","CVE-2022-24785","CVE-2022-25857","CVE-2022-31129","CVE-2022-37603","CVE-2022-38749","CVE-2022-38750","CVE-2022-38751","CVE-2022-40149","CVE-2022-40150","CVE-2022-42003","CVE-2022-42004","CVE-2022-45047","CVE-2022-45693","CVE-2022-46175","CVE-2022-46363","CVE-2022-46364","CVE-2023-0091","CVE-2023-0264"]},{"id":"RHSA-2022:1715","title":"Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.3.10 security updates and bug fixes","vulnerabilityIds":["CVE-2022-0155","CVE-2022-0235","CVE-2022-0536","CVE-2022-0613","CVE-2022-21803","CVE-2022-24723","CVE-2022-24785"]},{"id":"RHSA-2022:4922","title":"Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.5 security update","vulnerabilityIds":["CVE-2020-36518","CVE-2021-37136","CVE-2021-37137","CVE-2021-42392","CVE-2021-43797","CVE-2022-0084","CVE-2022-0853","CVE-2022-0866","CVE-2022-1319","CVE-2022-21299","CVE-2022-23221","CVE-2022-23437","CVE-2022-23913","CVE-2022-24785"]},{"id":"RHSA-2022:8652","title":"Red Hat Security Advisory: Red Hat Fuse 7.11.1 release and security update","vulnerabilityIds":["CVE-2019-8331","CVE-2021-3717","CVE-2021-31684","CVE-2021-44906","CVE-2022-0613","CVE-2022-2048","CVE-2022-2053","CVE-2022-24723","CVE-2022-24785","CVE-2022-24823","CVE-2022-25857","CVE-2022-31129","CVE-2022-31197","CVE-2022-33980","CVE-2022-38749","CVE-2022-41853","CVE-2022-42889"]},{"id":"RHSA-2023:1049","title":"Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 security update","vulnerabilityIds":["CVE-2018-14040","CVE-2018-14042","CVE-2019-11358","CVE-2020-11022","CVE-2020-11023","CVE-2021-35065","CVE-2021-44906","CVE-2022-1274","CVE-2022-1438","CVE-2022-1471","CVE-2022-2237","CVE-2022-2764","CVE-2022-3782","CVE-2022-3916","CVE-2022-4137","CVE-2022-24785","CVE-2022-25857","CVE-2022-31129","CVE-2022-37603","CVE-2022-38749","CVE-2022-38750","CVE-2022-38751","CVE-2022-40149","CVE-2022-40150","CVE-2022-42003","CVE-2022-42004","CVE-2022-45047","CVE-2022-45693","CVE-2022-46175","CVE-2022-46363","CVE-2022-46364","CVE-2023-0091","CVE-2023-0264"]},{"id":"WID-SEC-W-2023-0026","title":"IBM Maximo Asset Management: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2022-31129","CVE-2022-24785"]},{"id":"RHSA-2022:6277","title":"Red Hat Security Advisory: Red Hat OpenShift Service Mesh 2.1.5 security update","vulnerabilityIds":["CVE-2022-24675","CVE-2022-24785","CVE-2022-24921","CVE-2022-28327","CVE-2022-29526","CVE-2022-30629","CVE-2022-31129"]},{"id":"RHSA-2023:3954","title":"Red Hat Security Advisory: Red Hat Fuse 7.12 release and security update","vulnerabilityIds":["CVE-2012-5783","CVE-2020-13956","CVE-2022-4492","CVE-2022-24785","CVE-2022-31692","CVE-2022-36437","CVE-2022-38398","CVE-2022-38648","CVE-2022-40146","CVE-2022-41704","CVE-2022-41854","CVE-2022-41881","CVE-2022-41940","CVE-2022-41946","CVE-2022-41966","CVE-2022-42890","CVE-2022-42920","CVE-2022-45143","CVE-2022-46363","CVE-2022-46364","CVE-2023-1108","CVE-2023-1370","CVE-2023-20860","CVE-2023-20861","CVE-2023-20883","CVE-2023-22602","CVE-2023-33201"]},{"id":"RHSA-2025:4226","title":"Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.10 on RHEL 7 security update","vulnerabilityIds":["CVE-2021-3690","CVE-2021-3859","CVE-2021-37714","CVE-2021-40690","CVE-2022-0084","CVE-2022-1319","CVE-2022-2053","CVE-2022-23913","CVE-2022-24785","CVE-2022-25647","CVE-2022-25857","CVE-2022-40149","CVE-2022-40152","CVE-2023-1108","CVE-2023-1973","CVE-2023-3223","CVE-2024-1635"]},{"id":"WID-SEC-W-2023-0395","title":"Splunk Splunk Enterprise: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2015-20107","CVE-2021-21419","CVE-2021-28957","CVE-2021-3517","CVE-2021-3518","CVE-2021-3537","CVE-2022-24785","CVE-2022-31129","CVE-2022-32212","CVE-2022-42889","CVE-2023-22931","CVE-2023-22932","CVE-2023-22933","CVE-2023-22934","CVE-2023-22935","CVE-2023-22936","CVE-2023-22937","CVE-2023-22938","CVE-2023-22939","CVE-2023-22940","CVE-2023-22941","CVE-2023-22942","CVE-2023-22943"]},{"id":"RHSA-2022:5201","title":"Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4.5 security updates and bug fixes","vulnerabilityIds":["CVE-2021-43565","CVE-2022-21803","CVE-2022-23806","CVE-2022-24450","CVE-2022-24785","CVE-2022-25645","CVE-2022-29526","CVE-2022-29810"]},{"id":"WID-SEC-W-2023-0809","title":"IBM QRadar SIEM: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2023-22809","CVE-2022-4883","CVE-2022-46364","CVE-2022-46363","CVE-2022-45143","CVE-2022-42890","CVE-2022-4254","CVE-2022-42252","CVE-2022-41966","CVE-2022-41946","CVE-2022-41704","CVE-2022-40156","CVE-2022-40155","CVE-2022-40154","CVE-2022-40153","CVE-2022-40152","CVE-2022-40150","CVE-2022-40149","CVE-2022-37603","CVE-2022-37601","CVE-2022-37599","CVE-2022-37598","CVE-2022-3676","CVE-2022-36364","CVE-2022-36033","CVE-2022-34917","CVE-2022-31197","CVE-2022-31129","CVE-2022-2964","CVE-2022-28733","CVE-2022-2795","CVE-2022-25927","CVE-2022-25901","CVE-2022-25758","CVE-2022-25647","CVE-2022-24999","CVE-2022-24839","CVE-2022-24823","CVE-2022-24785","CVE-2022-23437","CVE-2022-22971","CVE-2022-22970","CVE-2022-21724","CVE-2022-21628","CVE-2022-21626","CVE-2022-21624","CVE-2022-21619","CVE-2021-43797","CVE-2021-42740","CVE-2021-42581","CVE-2021-39227","CVE-2021-3918","CVE-2021-3807","CVE-2021-37713","CVE-2021-37712","CVE-2021-37701","CVE-2021-3765","CVE-2021-37137","CVE-2021-37136","CVE-2021-32804","CVE-2021-32803","CVE-2021-29060","CVE-2021-26401","CVE-2021-25220","CVE-2021-23450","CVE-2021-23382","CVE-2021-23368","CVE-2021-23364","CVE-2021-23362","CVE-2021-23343","CVE-2021-21409","CVE-2021-21295","CVE-2021-21290","CVE-2020-7764","CVE-2020-5259","CVE-2020-24025","CVE-2020-15366","CVE-2020-13936","CVE-2019-6286","CVE-2019-6284","CVE-2019-6283","CVE-2019-10785","CVE-2018-8036","CVE-2018-20821","CVE-2018-20190","CVE-2018-19839","CVE-2018-19838","CVE-2018-19827","CVE-2018-19797","CVE-2018-15494","CVE-2018-11698","CVE-2018-11694"]},{"id":"RHSA-2023:1044","title":"Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 security update on RHEL 8","vulnerabilityIds":["CVE-2018-14040","CVE-2018-14042","CVE-2019-11358","CVE-2020-11022","CVE-2020-11023","CVE-2021-35065","CVE-2021-44906","CVE-2022-1274","CVE-2022-1438","CVE-2022-1471","CVE-2022-2764","CVE-2022-3916","CVE-2022-4137","CVE-2022-24785","CVE-2022-25857","CVE-2022-31129","CVE-2022-37603","CVE-2022-38749","CVE-2022-38750","CVE-2022-38751","CVE-2022-40149","CVE-2022-40150","CVE-2022-42003","CVE-2022-42004","CVE-2022-45047","CVE-2022-45693","CVE-2022-46175","CVE-2022-46363","CVE-2022-46364","CVE-2023-0091","CVE-2023-0264"]},{"id":"RHSA-2022:4919","title":"Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.5 security update on RHEL 8","vulnerabilityIds":["CVE-2020-36518","CVE-2021-37136","CVE-2021-37137","CVE-2021-42392","CVE-2021-43797","CVE-2022-0084","CVE-2022-0853","CVE-2022-0866","CVE-2022-1319","CVE-2022-21299","CVE-2022-23221","CVE-2022-23437","CVE-2022-23913","CVE-2022-24785"]},{"id":"RHSA-2022:1681","title":"Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4.4 security updates and bug fixes","vulnerabilityIds":["CVE-2021-23555","CVE-2021-43565","CVE-2022-0155","CVE-2022-0235","CVE-2022-0536","CVE-2022-0613","CVE-2022-1365","CVE-2022-21803","CVE-2022-24450","CVE-2022-24723","CVE-2022-24771","CVE-2022-24772","CVE-2022-24773","CVE-2022-24785"]},{"id":"RHSA-2022:4918","title":"Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.5 security update on RHEL 7","vulnerabilityIds":["CVE-2020-36518","CVE-2021-37136","CVE-2021-37137","CVE-2021-42392","CVE-2021-43797","CVE-2022-0084","CVE-2022-0853","CVE-2022-0866","CVE-2022-1319","CVE-2022-21299","CVE-2022-23221","CVE-2022-23437","CVE-2022-23913","CVE-2022-24785"]},{"id":"RHSA-2023:3642","title":"Red Hat Security Advisory: Red Hat Ceph Storage 6.1 Container security and bug fix update","vulnerabilityIds":["CVE-2021-42581","CVE-2022-1650","CVE-2022-1705","CVE-2022-2880","CVE-2022-21680","CVE-2022-21681","CVE-2022-23498","CVE-2022-24675","CVE-2022-24785","CVE-2022-26148","CVE-2022-27664","CVE-2022-28131","CVE-2022-28327","CVE-2022-29526","CVE-2022-30629","CVE-2022-30630","CVE-2022-30631","CVE-2022-30632","CVE-2022-30633","CVE-2022-30635","CVE-2022-31097","CVE-2022-31107","CVE-2022-31123","CVE-2022-31130","CVE-2022-32148","CVE-2022-32189","CVE-2022-32190","CVE-2022-35957","CVE-2022-39201","CVE-2022-39229","CVE-2022-39306","CVE-2022-39307","CVE-2022-39324","CVE-2022-41715","CVE-2022-41912"]},{"id":"RHSA-2023:1045","title":"Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 security update on RHEL 9","vulnerabilityIds":["CVE-2018-14040","CVE-2018-14042","CVE-2019-11358","CVE-2020-11022","CVE-2020-11023","CVE-2021-35065","CVE-2021-44906","CVE-2022-1274","CVE-2022-1438","CVE-2022-1471","CVE-2022-2764","CVE-2022-3916","CVE-2022-4137","CVE-2022-24785","CVE-2022-25857","CVE-2022-31129","CVE-2022-37603","CVE-2022-38749","CVE-2022-38750","CVE-2022-38751","CVE-2022-40149","CVE-2022-40150","CVE-2022-42003","CVE-2022-42004","CVE-2022-45047","CVE-2022-45693","CVE-2022-46175","CVE-2022-46363","CVE-2022-46364","CVE-2023-0091","CVE-2023-0264"]},{"id":"RHSA-2023:0076","title":"Red Hat Security Advisory: Red Hat Ceph Storage 5.3 security update and Bug Fix","vulnerabilityIds":["CVE-2022-24785"]},{"id":"RHSA-2022:6813","title":"Red Hat Security Advisory: Red Hat Process Automation Manager 7.13.1 security update","vulnerabilityIds":["CVE-2020-7746","CVE-2020-36518","CVE-2021-23436","CVE-2021-44906","CVE-2022-0235","CVE-2022-0722","CVE-2022-1365","CVE-2022-1415","CVE-2022-1650","CVE-2022-2458","CVE-2022-21363","CVE-2022-21724","CVE-2022-23437","CVE-2022-23913","CVE-2022-24771","CVE-2022-24772","CVE-2022-24785","CVE-2022-26520","CVE-2022-31129"]},{"id":"RHSA-2025:4437","title":"Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.13 security update","vulnerabilityIds":["CVE-2022-0084","CVE-2022-23913","CVE-2022-24785","CVE-2022-25647","CVE-2022-25857","CVE-2022-40149","CVE-2022-40150","CVE-2022-40152"]},{"id":"RHSA-2022:6156","title":"Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.11.0 security, enhancement, & bugfix update","vulnerabilityIds":["CVE-2021-23440","CVE-2021-23566","CVE-2022-0235","CVE-2022-0536","CVE-2022-1650","CVE-2022-21698","CVE-2022-23772","CVE-2022-23773","CVE-2022-23806","CVE-2022-24675","CVE-2022-24771","CVE-2022-24772","CVE-2022-24773","CVE-2022-24785","CVE-2022-24921","CVE-2022-28327","CVE-2022-29526","CVE-2022-29810","CVE-2022-31129"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2022-1677","identifiers":["EUVD-2022-1677","CVE-2022-24785","GHSA-8hfj-j24r-96c4"]},"retained":false,"historicalAffected":[]},{"revision":"c8a18338567a409da5611760440ad2db","observedAt":"2026-10-24T20:17:12.83+00:00","statement":{"source":"nvd","id":"CVE-2022-24785","aliases":[],"title":"Moment.js is a JavaScript date library for parsing, validating, manipulating, and formatting dates. A path traversal vulnerability impacts npm (server) users of Moment.js between versions 1.0.1 and 2.29.1, especially if a user-provided loca…","description":"Moment.js is a JavaScript date library for parsing, validating, manipulating, and formatting dates. A path traversal vulnerability impacts npm (server) users of Moment.js between versions 1.0.1 and 2.29.1, especially if a user-provided locale string is directly used to switch moment locale. This problem is patched in 2.29.2, and the patch can be applied to all affected versions. As a workaround, sanitize the user-provided locale name before passing it to Moment.js.","state":0,"publishedAt":"2022-04-04T17:15:07.583+00:00","modifiedAt":"2026-06-17T04:32:30.85+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":"HIGH"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"severity":"MEDIUM"}],"references":["https://github.com/moment/moment/commit/4211bfc8f15746be4019bba557e29a7ba83d54c5","https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4","https://lists.debian.org/debian-lts-announce/2023/01/msg00035.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6QIO6YNLTK2T7SPKDS4JEL45FANLNC2Q/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ORJX2LF6KMPIHP6B2P6KZIVKMLE3LVJ5/","https://security.netapp.com/advisory/ntap-20220513-0006/","https://www.tenable.com/security/tns-2022-09","https://security.netapp.com/advisory/ntap-20241108-0002/"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2022-24785","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-22","CWE-27"],"productCriteria":["cpe:2.3:a:momentjs:moment:*:*:*:*:*:node.js:*:*","cpe:2.3:a:momentjs:moment:*:*:*:*:*:nuget:*:*","cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*","cpe:2.3:a:netapp:active_iq:-:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"],"sourceDates":{"published":"2022-04-04T17:15:07.583","lastModified":"2026-06-17T04:32:30.850"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2022-24785","identifiers":["CVE-2022-24785"]},"retained":false,"historicalAffected":[]},{"revision":"2128b27dbfe445bf861663cf9efd7b7d","observedAt":"2026-10-23T16:01:25.029+00:00","statement":{"source":"osv","id":"GHSA-8hfj-j24r-96c4","aliases":["CVE-2022-24785"],"title":"Path Traversal: 'dir/../../filename' in moment.locale","description":"### Impact\nThis vulnerability impacts npm (server) users of moment.js, especially if user provided locale string, eg `fr` is directly used to switch moment locale.\n\n### Patches\nThis problem is patched in 2.29.2, and the patch can be applied to all affected versions (from 1.0.1 up until 2.29.1, inclusive).\n\n### Workarounds\nSanitize user-provided locale name before passing it to moment.js.\n\n### References\n_Are there any links users can visit to find out more?_\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [moment repo](https://github.com/moment/moment)","state":0,"publishedAt":"2022-04-04T21:25:48+00:00","modifiedAt":"2026-09-10T03:49:28.8300245+00:00","affected":[{"ecosystem":"npm","name":"moment","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.29.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Moment.js","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.29.2"}]}],"versions":["1.2.0","1.3.0","1.4.0","1.5.0","1.5.1","1.6.0","1.6.1","1.6.2","1.7.0","1.7.1","1.7.2","2.0.0","2.1.0","2.10.0","2.10.1","2.10.2","2.10.3","2.10.5","2.10.6","2.11.0","2.11.1","2.11.2","2.12.0","2.13.0","2.14.1","2.14.2","2.14.3","2.15.0","2.15.1","2.15.2","2.16.0","2.17.0","2.17.1","2.18.0","2.18.1","2.18.2","2.19.0","2.19.1","2.19.2","2.19.3","2.19.4","2.2.0","2.2.1","2.20.0","2.20.1","2.21.0","2.22.0","2.22.1","2.22.2","2.23.0","2.24.0","2.25.0","2.25.1","2.25.2","2.26.0","2.27.0","2.28.0","2.29.0","2.29.1","2.3.0","2.3.1","2.4.0","2.5.0","2.5.1","2.6.0","2.7.0","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.9.0"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4","https://nvd.nist.gov/vuln/detail/CVE-2022-24785","https://github.com/moment/moment/commit/4211bfc8f15746be4019bba557e29a7ba83d54c5","https://github.com/moment/moment","https://lists.debian.org/debian-lts-announce/2023/01/msg00035.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6QIO6YNLTK2T7SPKDS4JEL45FANLNC2Q","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ORJX2LF6KMPIHP6B2P6KZIVKMLE3LVJ5","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6QIO6YNLTK2T7SPKDS4JEL45FANLNC2Q","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ORJX2LF6KMPIHP6B2P6KZIVKMLE3LVJ5","https://security.netapp.com/advisory/ntap-20220513-0006","https://security.netapp.com/advisory/ntap-20241108-0002","https://www.tenable.com/security/tns-2022-09"],"sourceUrl":"https://github.com/advisories/GHSA-8hfj-j24r-96c4","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8hfj-j24r-96c4","identifiers":["GHSA-8hfj-j24r-96c4","CVE-2022-24785"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-19T05:22:48.4383343+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T05:22:48.4383343+00:00","lastSuccessAt":"2026-11-19T05:22:48.5819004+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.581904+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-a3c5d1f50b99987b637138fdc7cd9e1e0d772b1c81dbbff4bcc8be865c192a98","complete":true,"records":428232,"lastAttemptAt":"2026-11-19T05:22:47.9486287+00:00","lastSuccessAt":"2026-11-19T05:22:47.9265788+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:47.9486287+00:00","snapshotPublishedAt":"2026-11-19T04:33:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-7c1103063ba0426d8e585240e558964c","complete":false,"records":13861,"lastAttemptAt":"2026-11-19T05:32:28.4240909+00:00","lastSuccessAt":"2026-11-19T05:32:27.403+00:00","error":"218 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T05:32:27.403+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13568,"expectedIdentifiers":13908,"failedIdentifiers":218},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-19T05:22:48.4383343+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T05:22:48.4383343+00:00","lastSuccessAt":"2026-11-19T05:22:48.5827402+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.5827403+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-84b4b212d7ef41cb9ec24b71e9d8e5d8","complete":true,"records":13873,"lastAttemptAt":"2026-11-19T05:22:49.1394496+00:00","lastSuccessAt":"2026-11-19T04:24:39.391+00:00","error":null,"lastVerifiedAt":"2026-11-19T04:24:39.391+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13908,"expectedIdentifiers":13908,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-76574c95b6792d47ba90af64983ed5843633f14426346d676016e94a5f383202","complete":true,"records":9963,"lastAttemptAt":"2026-11-19T05:22:48.2819697+00:00","lastSuccessAt":"2026-11-19T01:24:31.4213722+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.2819697+00:00","snapshotPublishedAt":"2026-11-19T01:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T05:22:48.0028407+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.0028407+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-c0d9c71c6fa06d617f979e7bec0d97aca70ca5aea1558184002f8e44516f2fac","complete":true,"records":3177,"lastAttemptAt":"2026-11-19T05:22:48.391557+00:00","lastSuccessAt":"2026-11-18T21:25:09.5127964+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.391557+00:00","snapshotPublishedAt":"2026-11-18T21:18:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-2556fa291ec863b7fd77332e55dcff5569878e06b48ea32c182e52878cdd1ce8","complete":true,"records":232702,"lastAttemptAt":"2026-11-19T05:22:48.1723185+00:00","lastSuccessAt":"2026-11-19T04:24:35.8955272+00:00","error":null,"lastVerifiedAt":"2026-11-19T05:22:48.1723185+00:00","snapshotPublishedAt":"2026-11-19T03:33:12+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}