PYSEC-2020-71

Vulnerability from pysec - Published: 2020-08-14 17:15 - Updated: 2020-08-20 18:11
VLAI?
Details

In openapi-python-client before version 0.5.3, clients generated with a maliciously crafted OpenAPI Document can generate arbitrary Python code. Subsequent execution of this malicious client is arbitrary code execution.

Impacted products
Name purl
openapi-python-client pkg:pypi/openapi-python-client

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "openapi-python-client",
        "purl": "pkg:pypi/openapi-python-client"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f7a56aae32cba823a77a84a1f10400799b19c19a"
            }
          ],
          "repo": "https://github.com/triaxtec/openapi-python-client",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.5.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.1.0.dev0",
        "0.1.0",
        "0.1.1",
        "0.1.2",
        "0.2.0",
        "0.2.1",
        "0.3.0",
        "0.4.0rc1",
        "0.4.0",
        "0.4.1",
        "0.4.2",
        "0.5.0",
        "0.5.1",
        "0.5.2"
      ]
    }
  ],
  "aliases": [
    "CVE-2020-15142",
    "GHSA-9x4c-63pf-525f"
  ],
  "details": "In openapi-python-client before version 0.5.3, clients generated with a maliciously crafted OpenAPI Document can generate arbitrary Python code. Subsequent execution of this malicious client is arbitrary code execution.",
  "id": "PYSEC-2020-71",
  "modified": "2020-08-20T18:11:00Z",
  "published": "2020-08-14T17:15:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/openapi-python-client/"
    },
    {
      "type": "FIX",
      "url": "https://github.com/triaxtec/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-9x4c-63pf-525f"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…