Code Monkey home page Code Monkey logo

python_exercism's Introduction

Python Exercism

Codacy Badge Coverage Status codecov

Solutions for Python track on Exercism

TODO:

  • Try poetry for dependency management
  • Solve sgf parsing
  • Configure ruff
  • Optimize palindrome
ruff --exclude="*_test.py","*_data.py" --select ALL --preview . --ignore=D102,CPY001,ANN101
ruff list-ops/list_ops.py --select ALL --target-version="py311" --fix

python_exercism's People

Contributors

dependabot[bot] avatar mend-bolt-for-github[bot] avatar tqa236 avatar

Stargazers

 avatar

Watchers

 avatar

python_exercism's Issues

CVE-2020-14343 (High) detected in PyYAML-5.3.1.tar.gz - autoclosed

CVE-2020-14343 - High Severity Vulnerability

Vulnerable Library - PyYAML-5.3.1.tar.gz

YAML parser and emitter for Python

Library home page: https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz

Path to dependency file: python_exercism/requirements.txt

Path to vulnerable library: python_exercism/requirements.txt

Dependency Hierarchy:

  • pre_commit-1.21.0-py2.py3-none-any.whl (Root Library)
    • aspy.yaml-1.3.0-py2.py3-none-any.whl
      • โŒ PyYAML-5.3.1.tar.gz (Vulnerable Library)

Found in HEAD commit: f0061ffb2429e8c0a8fbf836928c52fe792d53e1

Found in base branch: master

Vulnerability Details

A vulnerability was discovered in the PyYAML library in all versions, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. .load() defaults to using FullLoader and FullLoader is still vulnerable to RCE when run on untrusted input. Applications that use the library to process untrusted input may be vulnerable to this flaw. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor.
The fix for CVE-2020-1747 was not enough to fix this issue.

Publish Date: 2020-07-21

URL: CVE-2020-14343

CVSS 3 Score Details (9.8)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.


Step up your Open Source Security Game with WhiteSource here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.