漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Colord: Slow rejection of oversized malformed color strings
Vulnerability Description
Colord is a tiny yet powerful tool for high-performance color manipulations and conversions. Prior to 2.9.4, synchronous CSS color string matchers in src/colorModels/rgbString.ts, src/colorModels/hslString.ts, src/colorModels/hwbString.ts, src/colorModels/lchString.ts, and src/colorModels/cmykString.ts use the ambiguous numeric regular expression ([+-]?\d*.?\d+), allowing the same digits to be divided between overlapping quantifiers in quadratically many ways when malformed input is rejected. An attacker who can supply an unbounded color string to colord(), getFormat(), isEqual(), mix(), or contrast(), including through a request body, JSON field, or uploaded stylesheet, can block the processing thread with a multi-kilobyte payload. The affected matchers are parseRgbaString, parseHslaString, parseHwbaString, parseLchaString, and parseCmykaString. This issue is fixed in version 2.9.4.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Vulnerability Type
CWE-1333
Vulnerability Title
Vlad Shilov Colord 资源管理错误漏洞
Vulnerability Description
Vlad Shilov Colord是Vlad Shilov个人开发者的一款处理颜色的前端库。 Vlad Shilov Colord 2.9.4之前版本存在资源管理错误漏洞,该漏洞源于CSS颜色字符串匹配器使用了有歧义的数值正则表达式,可能导致攻击者通过提供无界颜色字符串阻塞处理线程,造成拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A