CVE-2022-24785
node-moment - security update
7.5
HIGH
CVSS 3.1
EPSS 5.7%
描述
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.
如何修補 CVE-2022-24785
要修補 CVE-2022-24785,請將受影響套件升級到下列已修補版本。
- —升級至 2.29.2 或更新版本
- —升級至 2.29.2 或更新版本
CVE-2022-24785 正在被利用嗎?
中等 — EPSS 為 5.7%,可持續追蹤但非最高優先。
受影響套件(2)
- from 0, < 2.29.2
- from 0, < 2.29.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |