Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-25177

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier follows symbolic links to locations outside of the expected Pipeline library when reading files using the libraryResource step, allowing attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.

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

Source evidence

CVE-2022-25177

core-osv · Original source

Published 15 Feb 2022, 17:15 UTC

Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier follows symbolic links to locations outside of the expected Pipeline library when reading files using the libraryResource step, allowing attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.

osv:CVE-2022-25177
Complete source record
{
  "id": "5f50f9d76d5d384e4db5db7d5a1f9a3a0a79d1e47944524d7f5280d84ed814ff",
  "url": "https://osv.dev/vulnerability/CVE-2022-25177",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-25177",
    "summary": "Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier follows symbolic links to locations outside of the expected Pipeline library when reading files using the libraryResource step, allowing attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.",
    "evidence": "osv:CVE-2022-25177",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-25177",
      "aliases": [
        "CVE-2022-25177",
        "GHSA-q234-x887-9rxh"
      ],
      "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-25177.json"
          }
        }
      ],
      "modified": "2026-10-24T10:31:05.100876470Z",
      "provider": "osv",
      "references": [
        "https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2613"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2022-25177",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 440674,
  "published_at": "2022-02-15T17:15:08.767+00:00"
}