{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-35219.json"
      }
    ],
    "title": "openapi-generator-online: Path traversal via outputFolder option",
    "tracking": {
      "current_release_date": "2025-11-21T14:47:10+00:00",
      "generator": {
        "date": "2025-11-21T14:47:10+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.6.12"
        }
      },
      "id": "CVE-2024-35219",
      "initial_release_date": "2024-05-27T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2024-05-27T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2024-06-03T12:01:45+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2025-11-21T14:47:10+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "OpenShift Serverless",
                "product": {
                  "name": "OpenShift Serverless",
                  "product_id": "openshift_serverless",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:serverless:1"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "OpenShift Serverless"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Fuse 7",
                "product": {
                  "name": "Red Hat Fuse 7",
                  "product_id": "red_hat_fuse_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:jboss_fuse:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Fuse 7"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "streams for Apache Kafka",
                "product": {
                  "name": "streams for Apache Kafka",
                  "product_id": "streams_for_apache_kafka",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:amq_streams:1"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "streams for Apache Kafka"
          },
          {
            "category": "product_version",
            "name": "openapi-generator-online",
            "product": {
              "name": "openapi-generator-online",
              "product_id": "openapi-generator-online"
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openapi-generator-online as a component of OpenShift Serverless",
          "product_id": "openshift_serverless:openapi-generator-online"
        },
        "product_reference": "openapi-generator-online",
        "relates_to_product_reference": "openshift_serverless"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openapi-generator-online as a component of Red Hat Fuse 7",
          "product_id": "red_hat_fuse_7:openapi-generator-online"
        },
        "product_reference": "openapi-generator-online",
        "relates_to_product_reference": "red_hat_fuse_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "openapi-generator-online as a component of streams for Apache Kafka",
          "product_id": "streams_for_apache_kafka:openapi-generator-online"
        },
        "product_reference": "openapi-generator-online",
        "relates_to_product_reference": "streams_for_apache_kafka"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2024-35219",
      "cwe": {
        "id": "CWE-22",
        "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"
      },
      "discovery_date": "2024-05-27T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "openshift_serverless:openapi-generator-online",
            "red_hat_fuse_7:openapi-generator-online",
            "streams_for_apache_kafka:openapi-generator-online"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2283564"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in OpenAPI generator, where it allows the generation of API client libraries, for example, SDK generation, server stubs, documentation, and configuration, automatically given an OpenAPI Spec. This flaw allows an attacker to cause a path traversal vulnerability to read and delete files and folders from an arbitrary, writable directory, as anyone can set the output folder when submitting the request via the `outputFolder` option.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "openapi-generator-online: Path traversal via outputFolder option",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "This vulnerability in OpenAPI Generator is classified as Moderate severity due to its potential to be exploited for unauthorized file system access, allowing attackers to perform read and delete operations on files and folders within any writable directory. The impact is mitigated by the requirement that attackers must have the ability to submit requests to the generator, limiting the exploit's feasibility to environments where access controls are already compromised or insufficiently stringent.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "openshift_serverless:openapi-generator-online",
          "red_hat_fuse_7:openapi-generator-online",
          "streams_for_apache_kafka:openapi-generator-online"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2024-35219"
        },
        {
          "category": "external",
          "summary": "RHBZ#2283564",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2283564"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2024-35219",
          "url": "https://www.cve.org/CVERecord?id=CVE-2024-35219"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2024-35219",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-35219"
        }
      ],
      "release_date": "2024-05-27T00:00:00+00:00",
      "remediations": [
        {
          "category": "workaround",
          "details": "Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
          "product_ids": [
            "openshift_serverless:openapi-generator-online",
            "red_hat_fuse_7:openapi-generator-online",
            "streams_for_apache_kafka:openapi-generator-online"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.3,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "LOW",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "openshift_serverless:openapi-generator-online",
            "red_hat_fuse_7:openapi-generator-online",
            "streams_for_apache_kafka:openapi-generator-online"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "openshift_serverless:openapi-generator-online",
            "red_hat_fuse_7:openapi-generator-online",
            "streams_for_apache_kafka:openapi-generator-online"
          ]
        }
      ],
      "title": "openapi-generator-online: Path traversal via outputFolder option"
    }
  ]
}