目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2022-31129— Moment.js 资源管理错误漏洞

CVSS 7.5 · High EPSS 4.92% · P91
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2022-31129 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Inefficient Regular Expression Complexity in moment
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
moment is a JavaScript date library for parsing, validating, manipulating, and formatting dates. Affected versions of moment were found to use an inefficient parsing algorithm. Specifically using string-to-date parsing in moment (more specifically rfc2822 parsing, which is tried by default) has quadratic (N^2) complexity on specific inputs. Users may notice a noticeable slowdown is observed with inputs above 10k characters. Users who pass user-provided strings without sanity length checks to moment constructor are vulnerable to (Re)DoS attacks. The problem is patched in 2.29.4, the patch can be applied to all affected versions with minimal tweaking. Users are advised to upgrade. Users unable to upgrade should consider limiting date lengths accepted from user input.
来源: 美国国家漏洞数据库 NVD
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
未加控制的资源消耗(资源穷尽)
来源: 美国国家漏洞数据库 NVD
Vulnerability Title
Moment.js 资源管理错误漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Moment.js是一个 JavaScript 日期库。用于解析、验证、操作和格式化日期。 Moment.js 存在安全漏洞,该漏洞源于使用了低效的解析算法。在没有健全长度检查的情况下将用户提供的字符串传递给时刻构造函数的用户很容易受到正则拒绝服务攻击。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
momentmoment >= 2.18.0, < 2.29.4 -

二、漏洞 CVE-2022-31129 的公开POC

#POC 描述源链接神龙链接
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2022-31129 的情报信息

登录查看更多情报信息。

CVE-2022-31129 补丁与修复 (1)

CVE-2022-31129 厂商安全公告 (3)

CVE-2022-31129 邮件列表归档 (5)

IV. Related Vulnerabilities

V. Comments for CVE-2022-31129

暂无评论


发表评论