Vulnerabilities
Vulnerable Software

Vulnerability Details CVE-2020-5252

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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.001
EPSS Ranking 21.8%
CVSS Severity
CVSS v3 Score 5.0
CVSS v2 Score 1.9
Products affected by CVE-2020-5252
  • Pyup » Safety » Version: 0.2.0
    cpe:2.3:a:pyup:safety:0.2.0
  • Pyup » Safety » Version: 0.2.1
    cpe:2.3:a:pyup:safety:0.2.1
  • Pyup » Safety » Version: 0.3.0
    cpe:2.3:a:pyup:safety:0.3.0
  • Pyup » Safety » Version: 0.4.0
    cpe:2.3:a:pyup:safety:0.4.0
  • Pyup » Safety » Version: 0.5.0
    cpe:2.3:a:pyup:safety:0.5.0
  • Pyup » Safety » Version: 0.5.1
    cpe:2.3:a:pyup:safety:0.5.1
  • Pyup » Safety » Version: 0.6.0
    cpe:2.3:a:pyup:safety:0.6.0
  • Pyup » Safety » Version: 1.0
    cpe:2.3:a:pyup:safety:1.0
  • Pyup » Safety » Version: 1.0.1
    cpe:2.3:a:pyup:safety:1.0.1
  • Pyup » Safety » Version: 1.0.2
    cpe:2.3:a:pyup:safety:1.0.2
  • Pyup » Safety » Version: 1.1.0
    cpe:2.3:a:pyup:safety:1.1.0
  • Pyup » Safety » Version: 1.1.1
    cpe:2.3:a:pyup:safety:1.1.1
  • Pyup » Safety » Version: 1.2.0
    cpe:2.3:a:pyup:safety:1.2.0
  • Pyup » Safety » Version: 1.3.0
    cpe:2.3:a:pyup:safety:1.3.0
  • Pyup » Safety » Version: 1.4.0
    cpe:2.3:a:pyup:safety:1.4.0
  • Pyup » Safety » Version: 1.4.1
    cpe:2.3:a:pyup:safety:1.4.1
  • Pyup » Safety » Version: 1.5.0
    cpe:2.3:a:pyup:safety:1.5.0
  • Pyup » Safety » Version: 1.5.1
    cpe:2.3:a:pyup:safety:1.5.1
  • Pyup » Safety » Version: 1.6.0
    cpe:2.3:a:pyup:safety:1.6.0
  • Pyup » Safety » Version: 1.6.1
    cpe:2.3:a:pyup:safety:1.6.1
  • Pyup » Safety » Version: 1.7.0
    cpe:2.3:a:pyup:safety:1.7.0
  • Pyup » Safety » Version: 1.8.0
    cpe:2.3:a:pyup:safety:1.8.0
  • Pyup » Safety » Version: 1.8.1
    cpe:2.3:a:pyup:safety:1.8.1
  • Pyup » Safety » Version: 1.8.2
    cpe:2.3:a:pyup:safety:1.8.2
  • Pyup » Safety » Version: 1.8.3
    cpe:2.3:a:pyup:safety:1.8.3
  • Pyup » Safety » Version: 1.8.4
    cpe:2.3:a:pyup:safety:1.8.4
  • Pyup » Safety » Version: 1.8.5
    cpe:2.3:a:pyup:safety:1.8.5
  • Pyup » Safety » Version: 1.8.6
    cpe:2.3:a:pyup:safety:1.8.6


Contact Us

Shodan ® - All rights reserved