CVE编号
CVE-2022-24785利用情况
暂无补丁情况
N/A披露时间
2022-04-05漏洞描述
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.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/moment/moment/commit/4211bfc8f15746be4019bba557e29a7ba83d54c5 | |
https://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | momentjs | moment | * |
From (including) 1.0.1 |
Up to (excluding) 2.29.2 |
||||
运行在以下环境 | |||||||||
系统 | debian_10 | node-moment | * |
Up to (excluding) 2.24.0+ds-1 |
|||||
运行在以下环境 | |||||||||
系统 | debian_11 | node-moment | * |
Up to (excluding) 2.29.1+ds-2 |
|||||
运行在以下环境 | |||||||||
系统 | debian_12 | node-moment | * |
Up to (excluding) 2.29.1+ds-3 |
|||||
运行在以下环境 | |||||||||
系统 | debian_9 | node-moment | * |
Up to (excluding) 2.17.1+ds-1 |
|||||
运行在以下环境 | |||||||||
系统 | debian_sid | node-moment | * |
Up to (excluding) 2.29.1+ds-3 |
|||||
- 攻击路径 网络
- 攻击复杂度 低
- 权限要求 无
- 影响范围 未更改
- 用户交互 无
- 可用性 无
- 保密性 无
- 完整性 高
还没有评论,来说两句吧...