漏洞标题
Python JSON Logger 由于缺少 `msgspec-python313-pre` 依赖存在潜在的远程代码执行漏洞
漏洞描述信息
Python JSON Logger 是一个用于 Python 日志记录的 JSON 格式化器。在 2024 年 12 月 30 日至 2025 年 3 月 4 日之间,Python JSON Logger 存在一个由于缺少依赖项而导致的远程代码执行(RCE)漏洞。这是因为 msgspec-python313-pre 被其所有者删除,导致该名称被第三方占据。如果该包被第三方占据,那么任何在 Python 3.13 中安装了开发依赖项的 Python JSON Logger 用户(例如,通过运行 pip install python-json-logger[dev])都可能遭受 RCE 攻击。此问题已在版本 3.3.0 中得到解决。
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
漏洞类别
对生成代码的控制不恰当(代码注入)
漏洞标题
Python JSON Logger has a Potential RCE via missing `msgspec-python313-pre` dependency
漏洞描述信息
Python JSON Logger is a JSON Formatter for Python Logging. Between 30 December 2024 and 4 March 2025 Python JSON Logger was vulnerable to RCE through a missing dependency. This occurred because msgspec-python313-pre was deleted by the owner leaving the name open to being claimed by a third party. If the package was claimed, it would allow them RCE on any Python JSON Logger user who installed the development dependencies on Python 3.13 (e.g. pip install python-json-logger[dev]). This issue has been resolved with 3.3.0.
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
漏洞类别
从非可信控制范围包含功能例程