ghsa-q7xg-hh3q-hc68
Vulnerability from github
Published
2022-05-24 17:48
Modified
2023-10-27 14:19
Summary
XML External Entity Reference vulnerability in Jenkins Config File Provider Plugin
Details

Jenkins Config File Provider Plugin 3.7.0 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.

This allows attackers with the ability to define Maven configuration files to have Jenkins parse a crafted configuration file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.

Jenkins Config File Provider Plugin 3.7.1 disables external entity resolution for its XML parser.

Show details on source website


{
   affected: [
      {
         database_specific: {
            last_known_affected_version_range: "<= 3.7.0",
         },
         package: {
            ecosystem: "Maven",
            name: "org.jenkins-ci.plugins:config-file-provider",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     fixed: "3.7.1",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2021-21642",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-611",
      ],
      github_reviewed: true,
      github_reviewed_at: "2022-12-13T19:17:13Z",
      nvd_published_at: "2021-04-21T15:15:00Z",
      severity: "HIGH",
   },
   details: "Jenkins Config File Provider Plugin 3.7.0 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.\n\nThis allows attackers with the ability to define Maven configuration files to have Jenkins parse a crafted configuration file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.\n\nJenkins Config File Provider Plugin 3.7.1 disables external entity resolution for its XML parser.",
   id: "GHSA-q7xg-hh3q-hc68",
   modified: "2023-10-27T14:19:48Z",
   published: "2022-05-24T17:48:06Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2021-21642",
      },
      {
         type: "WEB",
         url: "https://github.com/jenkinsci/config-file-provider-plugin/commit/5f845bc015be769e595088bab11ec36c767671e1",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/jenkinsci/config-file-provider-plugin",
      },
      {
         type: "WEB",
         url: "https://www.jenkins.io/security/advisory/2021-04-21/#SECURITY-2204",
      },
      {
         type: "WEB",
         url: "http://www.openwall.com/lists/oss-security/2021/04/21/2",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
         type: "CVSS_V3",
      },
   ],
   summary: "XML External Entity Reference vulnerability in Jenkins Config File Provider Plugin",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.