Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-24785— Path Traversal in Moment.js

Quick assessment

Affected
moment moment
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Moment.js是一个 JavaScript 日期库。用于解析、验证、操作和格式化日期。 Moment.js 1.0.1版本至2.29.1版本存在路径遍历漏洞。攻击者利用该漏洞可以访问存储在web根文件夹之外的文件和目录。

CVSS 7.5 · High EPSS 13.90% · P96

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-24785

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Path Traversal in Moment.js
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Moment.js 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Moment.js是一个 JavaScript 日期库。用于解析、验证、操作和格式化日期。 Moment.js 1.0.1版本至2.29.1版本存在路径遍历漏洞。攻击者利用该漏洞可以访问存储在web根文件夹之外的文件和目录。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
moment moment >= 1.0.1, < 2.29.2 -

II. Public POCs for CVE-2022-24785

# POC Description Source Link Shenlong Link
1 Moment.js vuln lab https://github.com/pS3ud0RAnD0m/cve-2022-24785-poc-lab POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-24785

登录查看更多情报信息。

Patches & Fixes for CVE-2022-24785 (1)

Vendor Advisories for CVE-2022-24785 (2)

Mailing List Discussions for CVE-2022-24785 (3)

Other References for CVE-2022-24785 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-24785

No comments yet


Leave a comment