Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2020-5252— Malicious package may avoid detection in python auditing

Quick assessment

Affected
pyupio safety
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Safety是一款基于Python的用于检查程序安全性的软件包。 Safety 1.8.6及之前版本中存在安全漏洞。攻击者可借助特制的软件包利用该漏洞绕过安全检查。

CVSS 5.0 · Medium EPSS 0.37% · P30

Possible ATT&CK Techniques 1 AI

T1055 · Process Injection
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2020-5252

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

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
Malicious package may avoid detection in python auditing
Source: CVE Program / CVE List V5
Vulnerability Description
The command-line "safety" package for Python has a potential security issue. There are two Python characteristics that allow malicious code to “poison-pill” command-line Safety package detection routines by disguising, or obfuscating, other malicious or non-secure packages. This vulnerability is considered to be of low severity because the attack makes use of an existing Python condition, not the Safety tool itself. This can happen if: You are running Safety in a Python environment that you don’t trust. You are running Safety from the same Python environment where you have your dependencies installed. Dependency packages are being installed arbitrarily or without proper verification. Users can mitigate this issue by doing any of the following: Perform a static analysis by installing Docker and running the Safety Docker image: $ docker run --rm -it pyupio/safety check -r requirements.txt Run Safety against a static dependencies list, such as the requirements.txt file, in a separate, clean Python environment. Run Safety from a Continuous Integration pipeline. Use PyUp.io, which runs Safety in a controlled environment and checks Python for dependencies without any need to install them. Use PyUp's Online Requirements Checker.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在安全决策中依赖未经信任的输入
Source: CVE Program / CVE List V5
Vulnerability Title
Safety 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Safety是一款基于Python的用于检查程序安全性的软件包。 Safety 1.8.6及之前版本中存在安全漏洞。攻击者可借助特制的软件包利用该漏洞绕过安全检查。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pyupio safety < 1.9.0 -

II. Public POCs for CVE-2020-5252

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2020-5252

登录查看更多情报信息。

Vendor Advisories for CVE-2020-5252 (1)

Security Blog Posts for CVE-2020-5252 (1)

Other References for CVE-2020-5252 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2020-5252

No comments yet


Leave a comment