Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-25178

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier does not restrict the names of resources passed to the libraryResource step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-25178
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:20 UTC · Revision 1

Source evidence

CVE-2022-25178

core-osv · Original source

Published 15 Feb 2022, 17:15 UTC

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier does not restrict the names of resources passed to the libraryResource step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.

osv:CVE-2022-25178
Complete source record
{
  "id": "25ca21424263e4dbd997a83567f9ee3e5df1dc73948891537476ab544a1d1555",
  "url": "https://osv.dev/vulnerability/CVE-2022-25178",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-25178",
    "summary": "Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier does not restrict the names of resources passed to the libraryResource step, allowing attackers able to configure Pipelines permission to read arbitrary files on the Jenkins controller file system.",
    "evidence": "osv:CVE-2022-25178",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-25178",
      "aliases": [
        "CVE-2022-25178",
        "GHSA-5hfv-mg5x-mv32"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jenkinsci/workflow-cps-global-lib-plugin",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "d9cc05b8a2e175852b6fb5b5689333f88c837945"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jenkins:pipeline\\:shared_groovy_libraries:*:*:*:*:*:jenkins:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "552.vd9cc05b8a2e1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "552.vd9cc05b8a2e1",
            "548.v9085a486966a",
            "545.v7b28cce323cf",
            "544.vff04fa68714d",
            "workflow-cps-global-lib-2.21",
            "workflow-cps-global-lib-2.20",
            "workflow-cps-global-lib-2.19",
            "workflow-cps-global-lib-2.18",
            "workflow-cps-global-lib-2.17",
            "workflow-cps-global-lib-2.16",
            "workflow-cps-global-lib-2.15",
            "workflow-cps-global-lib-2.14",
            "workflow-cps-global-lib-2.13",
            "workflow-cps-global-lib-2.12",
            "workflow-cps-global-lib-2.11",
            "workflow-cps-global-lib-2.10",
            "workflow-cps-global-lib-2.9",
            "workflow-cps-global-lib-2.8",
            "workflow-cps-global-lib-2.7",
            "workflow-cps-global-lib-2.6",
            "workflow-cps-global-lib-2.5",
            "workflow-cps-global-lib-2.4",
            "workflow-cps-global-lib-2.3",
            "workflow-cps-global-lib-2.2",
            "workflow-cps-global-lib-2.1",
            "workflow-cps-global-lib-2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25178.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:17.551864269Z",
      "provider": "osv",
      "references": [
        "https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2613"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2022-25178",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429584,
  "published_at": "2022-02-15T17:15:08.837+00:00"
}