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
python-dotenv: Symlink following in set_key allows arbitrary file overwrite via cross-device rename fallback
Vulnerability Description
python-dotenv reads key-value pairs from a .env file and can set them as environment variables. Prior to version 1.2.2, `set_key()` and `unset_key()` in python-dotenv follow symbolic links when rewriting `.env` files, allowing a local attacker to overwrite arbitrary files via a crafted symlink when a cross-device rename fallback is triggered. Users should upgrade to v.1.2.2 or, as a workaround, apply the patch manually.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Vulnerability Title
python-dotenv 安全漏洞
Vulnerability Description
python-dotenv是Saurabh Kumar个人开发者的一个Python环境变量管理工具。 python-dotenv 1.2.2之前版本存在安全漏洞,该漏洞源于set_key和unset_key函数在处理符号链接时存在缺陷,可能导致本地攻击者通过特制的符号链接覆盖任意文件。
CVSS Information
N/A
Vulnerability Type
N/A