目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2021-3572 PoC — pip 输入验证错误漏洞

来源
关联漏洞
标题: pip 输入验证错误漏洞 (CVE-2021-3572)
Description:Pip是一套用于安装和管理Python软件包的工具。 python pip 中存在输入验证错误漏洞,远程攻击者可能会利用该漏洞在存储库上安装不同的修订版。
Description
A simple repository helping to test CVE-2021-3572 in PyPA/pip
介绍
# CVE-2021-3572

This repository is designed for testing CVE-2021-3572 in [pypa/pip](https://github.com/pypa/pip).

For more information, see these resources:
* CVE page: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3572
* PR where vulnerability was fixed: https://github.com/pypa/pip/pull/9827
* Issue with more discussion: https://github.com/pypa/pip/issues/10042

Also, see the tags and first two commits in this repository.

## Testing

Vulnerable version of pip (<21.1) installs version 9999.0 but the fixed version installs the correct version 1.0:

### Vulnerable version

```
$ pip install "pip<21.1"
Successfully installed pip-21.0.1

$ pip install git+https://github.com/frenzymadness/CVE-2021-3572.git@original_version

$ pip list
Package       Version
------------- -------
cve-2021-3572 9999.0
pip           21.0.1
setuptools    56.2.0
wheel         0.36.2
```

### Fixed version

```
$ pip install -U pip
Successfully installed pip-21.1.2

$ pip install git+https://github.com/frenzymadness/CVE-2021-3572.git@original_version

$ pip list
Package       Version
------------- -------
cve-2021-3572 1.0
pip           21.1.2
setuptools    56.2.0
wheel         0.36.2
```
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →