Vulnerability Information
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
luxon.js inefficient regular expression complexity vulnerability
Vulnerability Description
Luxon is a library for working with dates and times in JavaScript. On the 1.x branch prior to 1.38.1, the 2.x branch prior to 2.5.2, and the 3.x branch on 3.2.1, Luxon's `DateTime.fromRFC2822() has quadratic (N^2) complexity on some specific inputs. This causes a noticeable slowdown for inputs with lengths above 10k characters. Users providing untrusted data to this method are therefore vulnerable to (Re)DoS attacks. This issue also appears in Moment as CVE-2022-31129. Versions 1.38.1, 2.5.2, and 3.2.1 contain patches for this issue. As a workaround, limit the length of the input.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vulnerability Type
CWE-1333
Vulnerability Title
Luxon 安全漏洞
Vulnerability Description
Luxon是Moment.js开源的一个在 JavaScript 中处理日期和时间的库。 Luxon 存在安全漏洞,该漏洞源于其DateTime.fromRFC2822()方法在某些特定输入上具有二次(N^2)复杂度导致用户向该方法输入不受信任的数据可以实现拒绝服务。以下版本受到影响:1.x至1.38.1之前的版本、2.x至2.5.2之前的版本和3.2.1版本。
CVSS Information
N/A
Vulnerability Type
N/A