漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
GitPython before 3.1.52 Environment Variable Exfiltration via clone_from
Vulnerability Description
GitPython before 3.1.52 is vulnerable to environment-variable exfiltration in Repo.clone_from(). The caller-supplied remote URL is passed through Git.polish_url(), which on non-Cygwin platforms calls os.path.expandvars() on the URL before invoking git clone. An attacker who controls the clone URL can embed $NAME or ${NAME} tokens that are expanded to the values of the hosting process's environment variables (e.g., AWS_SECRET_ACCESS_KEY or GITHUB_TOKEN). The resulting URL, now containing the secret, is transmitted over the network to an attacker-controlled host during the clone attempt, disclosing the secret.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Vulnerability Type
信息暴露
Vulnerability Title
gitpython-developers GitPython 信息泄露漏洞
Vulnerability Description
gitpython-developers GitPython是gitpython-developers组织的数据库系统。 gitpython-developers GitPython 3.1.52之前版本存在信息泄露漏洞,该漏洞源于Repo.clone_from()函数中Git.polish_url()调用os.path.expandvars()展开环境变量,攻击者通过控制克隆URL嵌入$NAME或${NAME}令牌,导致环境变量被展开并发送至攻击者控制的服务器,造成信息泄露。
CVSS Information
N/A
Vulnerability Type
N/A