swagger-api / swagger-api/swagger-codegen

CVE-2022-42969 (High) detected in py-1.11.0-py2.py3-none-any.whl

Open
#11,931 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

security vulnerability
Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

CVE-2022-42969 - High Severity Vulnerability

Vulnerable Library - py-1.11.0-py2.py3-none-any.whl

library with cross-python path, ini-parsing, io, code, log facilities

Library home page: https://files.pythonhosted.org/packages/f6/f0/10642828a8dfb741e5f3fbaac830550a518a775c7fff6f04a007259b0548/py-1.11.0-py2.py3-none-any.whl

Path to dependency file: /samples/client/petstore/python/test-requirements.txt

Path to vulnerable library: /samples/client/petstore/python/test-requirements.txt,/samples/client/petstore/python-asyncio/test-requirements.txt,/samples/client/petstore/python-asyncio/dev-requirements.txt,/samples/server/petstore/flaskConnexion/test-requirements.txt,/samples/client/petstore/python-tornado/dev-requirements.txt,/samples/client/petstore-security-test/python/test-requirements.txt,/samples/client/petstore/python/dev-requirements.txt,/samples/client/petstore/python-tornado/test-requirements.txt,/samples/server/petstore/flaskConnexion-python2/test-requirements.txt

Dependency Hierarchy:

  • py-1.11.0-py2.py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 4b7a8d7d7384aa6a27d6309c35ade0916edae7ed

Found in base branches: 3.0.0, master

Vulnerability Details

The py library through 1.11.0 for Python allows remote attackers to conduct a ReDoS (Regular expression Denial of Service) attack via a Subversion repository with crafted info data, because the InfoSvnCommand argument is mishandled.

Publish Date: 2022-10-16

URL: CVE-2022-42969

CVSS 3 Score Details (7.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the listed test-requirements.txt and dev-requirements.txt files across the Python petstore samples, starting with the dependency entries for py 1.11.0. Identify a non-vulnerable replacement for CVE-2022-42969, update the affected requirements, and verify the relevant Python sample tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.