THREATPORT/VULNERABILITY/CVE-2022-24785
HIGH SEVERITY

CVE-2022-24785

Moment vulnerability

CVSS
7.5
EPSS
5.7%
EPSS pct
92th
Exploited
No known
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 vendor
Momentjs
Affected product
Moment
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness type (CWE)
Published
2022-04-04

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to integrity.

Its EPSS score of 5.7% reflects a lower probability of exploitation activity in the wild over the next 30 days, placing it above 92% of all scored CVEs.

Check your external exposure to CVE-2022-24785

  • Confirm whether Momentjs Moment is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2022-24785.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2022-24785

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2022-24785 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2022-24785?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2022-24785.

Start free scan

No credit card. Agentless.