漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
uproot 5.7.4 and prior Code Injection via TStreamerInfo Metadata
Vulnerability Description
uproot dynamically generates Python class source code from ROOT TStreamerInfo records in a file and compiles it at runtime. Some file-controlled streamer metadata fields (for example, streamer element names) are interpolated into the generated Python source without safe quoting via repr() or the !r format specifier. An attacker who can supply a crafted ROOT file can place Python expression-breaking content into a streamer metadata field. When uproot generates and invokes the corresponding reader method, the injected Python expression is evaluated in the context of the process opening the file, resulting in arbitrary Python code execution in applications that open or process attacker-controlled ROOT files with affected uproot code paths.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Vulnerability Title
Scikit-HEP Uproot 代码注入漏洞
Vulnerability Description
Scikit-HEP Uproot是Scikit-HEP团队的一个用于在纯 Python 和 NumPy 中读取和写入ROOT 文件的库。 Scikit-HEP Uproot 5.7.4及之前版本存在代码注入漏洞,该漏洞源于uproot动态生成Python类源代码时,未对文件控制的流媒体元数据字段(如流媒体元素名称)使用safe quoting进行安全引用,导致攻击者通过特制ROOT文件注入Python表达式,在打开或处理文件的进程环境中执行任意代码。
CVSS Information
N/A
Vulnerability Type
N/A