{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Critical"
    },
    "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/2017/cve-2017-1000502.json"
      }
    ],
    "title": "jenkins: Users with agent related permissions in EC2 Plugin are able to run arbitrary shell commands on master node",
    "tracking": {
      "current_release_date": "2025-11-21T17:12:17+00:00",
      "generator": {
        "date": "2025-11-21T17:12:17+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.6.12"
        }
      },
      "id": "CVE-2017-1000502",
      "initial_release_date": "2017-01-01T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2017-01-01T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2019-09-29T14:31:36+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2025-11-21T17:12:17+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat OpenShift Enterprise 3",
                "product": {
                  "name": "Red Hat OpenShift Enterprise 3",
                  "product_id": "red_hat_openshift_enterprise_3",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openshift:3"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat OpenShift Enterprise 3"
          },
          {
            "category": "product_version",
            "name": "jenkins.src",
            "product": {
              "name": "jenkins.src",
              "product_id": "jenkins.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/jenkins?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "jenkins",
            "product": {
              "name": "jenkins",
              "product_id": "jenkins",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/jenkins"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "jenkins as a component of Red Hat OpenShift Enterprise 3",
          "product_id": "red_hat_openshift_enterprise_3:jenkins"
        },
        "product_reference": "jenkins",
        "relates_to_product_reference": "red_hat_openshift_enterprise_3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "jenkins.src as a component of Red Hat OpenShift Enterprise 3",
          "product_id": "red_hat_openshift_enterprise_3:jenkins.src"
        },
        "product_reference": "jenkins.src",
        "relates_to_product_reference": "red_hat_openshift_enterprise_3"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2017-1000502",
      "cwe": {
        "id": "CWE-732",
        "name": "Incorrect Permission Assignment for Critical Resource"
      },
      "discovery_date": "2018-01-29T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_openshift_enterprise_3:jenkins",
            "red_hat_openshift_enterprise_3:jenkins.src"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1539525"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "Users with permission to create or configure agents in Jenkins 1.37 and earlier could configure an EC2 agent to run arbitrary shell commands on the master node whenever the agent was supposed to be launched. Configuration of these agents now requires the 'Run Scripts' permission typically only granted to administrators.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "jenkins: Users with agent related permissions in EC2 Plugin are able to run arbitrary shell commands on master node",
          "title": "Vulnerability summary"
        },
        {
          "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": [
          "red_hat_openshift_enterprise_3:jenkins",
          "red_hat_openshift_enterprise_3:jenkins.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2017-1000502"
        },
        {
          "category": "external",
          "summary": "RHBZ#1539525",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1539525"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2017-1000502",
          "url": "https://www.cve.org/CVERecord?id=CVE-2017-1000502"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000502",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000502"
        }
      ],
      "release_date": "2018-01-24T00:00:00+00:00",
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.9,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.0"
          },
          "products": [
            "red_hat_openshift_enterprise_3:jenkins",
            "red_hat_openshift_enterprise_3:jenkins.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Critical",
          "product_ids": [
            "red_hat_openshift_enterprise_3:jenkins",
            "red_hat_openshift_enterprise_3:jenkins.src"
          ]
        }
      ],
      "title": "jenkins: Users with agent related permissions in EC2 Plugin are able to run arbitrary shell commands on master node"
    }
  ]
}