-
-
Notifications
You must be signed in to change notification settings - Fork 308
Description
We've got a number hits on reported vulnerabilities for pex. I'll put them up one issue per vulnerability, so they can be addressed one at a time.
In Lib/tarfile.py in Python through 3.8.3, an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because _proc_pax lacks header validation.
https://nvd.nist.gov/vuln/detail/CVE-2019-20907
Excerpt from our report:
The application is vulnerable by using this component.
NOTE: The project has bundled the vulnerable file tools/Lib/site-packages/pip/_vendor/distlib/_backport/tarfile.py in fixed versions. If using fixed versions 3.8.5 and above (for 3.8.x branch), or 3.9.0-b5 and above (for 3.9.x branch), you are only vulnerable if using this vulnerable file in your application.