CVE-2022-24785 in momentjs moment
Exploitation of this CVE does not show up in logs, so there is no detection rule for it.
What the vulnerability is
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 software: momentjs moment, tenable.sc, netapp active iq, fedoraproject fedora, debian linux
Scores
- CVSS: 7.5 (high)
- EPSS: 5.44% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2022-04-04
What LogPulse has for it
- Detection rule: No
- Agent check (vulnerable version): No
- Mitigation: No
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.