{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-24785","published":"2022-04-04T17:15:07.583000Z","last_modified":"2026-06-17T04:32:30.850000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-22","CWE-27"],"cpes":[{"criteria":"cpe:2.3:a:momentjs:moment:*:*:*:*:*:node.js:*:*","part":"a","vendor":"momentjs","product":"moment","version_start_including":"1.0.1","version_end_excluding":"2.29.2"},{"criteria":"cpe:2.3:a:momentjs:moment:*:*:*:*:*:nuget:*:*","part":"a","vendor":"momentjs","product":"moment","version_start_including":"1.0.1","version_end_excluding":"2.29.2"},{"criteria":"cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*","part":"a","vendor":"tenable","product":"tenable.sc","version_end_excluding":"5.21.0"},{"criteria":"cpe:2.3:a:netapp:active_iq:-:*:*:*:*:*:*:*","part":"a","vendor":"netapp","product":"active_iq"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"35"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"36"},{"criteria":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"10.0"}],"cpes_truncated":false,"vendors":["momentjs","tenable","netapp","fedoraproject","debian"],"products":["momentjs/moment","tenable/tenable.sc","netapp/active_iq","fedoraproject/fedora","debian/debian_linux"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.0267,"percentile":0.86512,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8hfj-j24r-96c4","ecosystem":"NuGet","name":"Moment.js","purl":"pkg:nuget/Moment.js","ranges":[{"introduced":"0","fixed":"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"],"versions_truncated":false},{"advisory":"GHSA-8hfj-j24r-96c4","ecosystem":"npm","name":"moment","purl":"pkg:npm/moment","ranges":[{"introduced":"0","fixed":"2.29.2"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2022-24785/","html_en":"/en/cve/CVE-2022-24785/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-24785","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-24785"},"untrusted":{"vendor_name":"Momentjs","product_name":"Moment","desc_en":"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.","affected":[{"untrusted_vendor":"moment","untrusted_product":"moment","versions":[]}],"references":[{"url":"https://github.com/moment/moment/commit/4211bfc8f15746be4019bba557e29a7ba83d54c5","tags":["Patch"]},{"url":"https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4","tags":["Vendor Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00035.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6QIO6YNLTK2T7SPKDS4JEL45FANLNC2Q/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ORJX2LF6KMPIHP6B2P6KZIVKMLE3LVJ5/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20220513-0006/","tags":["Third Party Advisory"]},{"url":"https://www.tenable.com/security/tns-2022-09","tags":["Patch","Release Notes","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20241108-0002/","tags":[]}]}}