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
pypdf: Inefficient handling of non-whitespace inputs in read_until_whitespace
Vulnerability Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, an attacker can craft a PDF that causes long runtimes when the pypdf/_utils.py function read_until_whitespace reads a stream containing a long run of bytes without whitespace. The function repeatedly performs immutable bytes concatenation in a one-byte loop, causing quadratic processing cost for the long non-whitespace input. This issue is fixed in version 6.15.0.
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
算法复杂性
Vulnerability Title
pypdf 资源管理错误漏洞
Vulnerability Description
py-pdf pypdf是py-pdf组织开源的一款PDF文档处理组件。 pypdf 6.15.0之前版本存在资源管理错误漏洞,该漏洞源于pypdf/_utils.py中的read_until_whitespace函数在处理无空白字符的长字节流时反复进行不可变字节拼接,导致处理开销呈二次方增长,可能造成长时间运行。
CVSS Information
N/A
Vulnerability Type
N/A