8000 CVE-2020-5252 (Medium) detected in safety-1.8.5-py2.py3-none-any.whl · Issue #216 · k8s-team/asynql · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CVE-2020-5252 (Medium) detected in safety-1.8.5-py2.py3-none-any.whl #216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mend-bolt-for-github bot opened this issue Apr 27, 2024 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link
Contributor

CVE-2020-5252 - Medium Severity Vulnerability

Vulnerable Library - safety-1.8.5-py2.py3-none-any.whl

Checks installed dependencies for known vulnerabilities and licenses.

Library home page: https://files.pythonhosted.org/packages/62/23/f6f658e7c5e9b79007aabd5e0b0a214a84cac412469c57442fa3d292c0c2/safety-1.8.5-py2.py3-none-any.whl

Path to dependency file: /asynql/docs/requirements.txt

Path to vulnerable library: /teSource-ArchiveExtractor_c7182848-0dc6-4a0a-8209-5c716eca17c9/20190619005844_75866/20190619005751_depth_0/43/safety-1.8.5-py2.py3-none-any/safety

Dependency Hierarchy:

  • safety-1.8.5-py2.py3-none-any.whl (Vulnerable Library)

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2020-03-23

URL: CVE-2020-5252

CVSS 3 Score Details (4.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: High
    • Privileges Required: High
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://osv.dev/vulnerability/PYSEC-2020-101

Release Date: 2020-03-30

Fix Resolution: 1.9.0


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants
0