CVE-2022-24785

CVSS V2 Medium 5 CVSS V3 High 7.5
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.
Overview
  • CVE ID
  • CVE-2022-24785
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2022-04-04T17:15:07
  • Last Modified Date
  • 2023-02-16T19:27:17
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:momentjs:moment:*:*:*:*:*:node.js:*:* 1 OR 1.0.1 2.29.2
cpe:2.3:a:momentjs:moment:*:*:*:*:*:nuget:*:* 1 OR 1.0.1 2.29.2
cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:* 1 OR 5.21.0
cpe:2.3:a:netapp:active_iq:-:*:*:*:*:*:*:* 1 OR
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* 1 OR
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:N/I:P/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • NONE
  • Base Score
  • 5
  • Severity
  • MEDIUM
  • Exploitability Score
  • 10
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • NONE
  • Availability Impact
  • NONE
  • Base Score
  • 7.5
  • Base Severity
  • HIGH
  • Exploitability Score
  • 3.9
  • Impact Score
  • 3.6
History
Created Old Value New Value Data Type Notes
2022-05-10 06:27:51 Added to TrackCVE
2022-12-06 14:07:46 2022-04-04T17:15Z 2022-04-04T17:15:07 CVE Published Date updated
2022-12-06 14:07:46 2022-07-30T02:50:09 CVE Modified Date updated
2022-12-06 14:07:47 Analyzed Vulnerability Status updated
2022-12-06 14:07:51 References updated
2023-01-31 03:13:28 2023-01-31T01:15:09 CVE Modified Date updated
2023-01-31 03:13:28 Analyzed Modified Vulnerability Status updated
2023-01-31 03:13:29 References updated
2023-02-02 13:12:37 Modified Undergoing Analysis Vulnerability Status updated
2023-02-16 21:12:46 2023-02-16T19:27:17 CVE Modified Date updated
2023-02-16 21:12:46 Undergoing Analysis Analyzed Vulnerability Status updated