Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/12918?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/12918?format=api",
    "vulnerability_id": "VCID-a8d9-5365-qubn",
    "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nJenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier uses the same checkout directories for distinct SCMs for Pipeline libraries, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.",
    "aliases": [
        {
            "alias": "CVE-2022-25174"
        },
        {
            "alias": "GHSA-g9fx-6j5c-grmw"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80542?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@2.18.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@2.18.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80541?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@2.21.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@2.21.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80694?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@561.va",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@561.va"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/46283?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@561.va_ce0de3c2d69",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@561.va_ce0de3c2d69"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/143293?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@2.19",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a8d9-5365-qubn"
                },
                {
                    "vulnerability": "VCID-chux-mqkp-cfe5"
                },
                {
                    "vulnerability": "VCID-msed-m3xv-rkfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@2.19"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/49472?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@544.vff04fa68714d",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a8d9-5365-qubn"
                },
                {
                    "vulnerability": "VCID-k6wy-rwhv-ckd2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@544.vff04fa68714d"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/46282?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@552.vd9cc05b8a2e1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3vqh-anad-xqbt"
                },
                {
                    "vulnerability": "VCID-a8d9-5365-qubn"
                },
                {
                    "vulnerability": "VCID-chux-mqkp-cfe5"
                },
                {
                    "vulnerability": "VCID-gv26-67cj-t3ae"
                },
                {
                    "vulnerability": "VCID-msed-m3xv-rkfg"
                },
                {
                    "vulnerability": "VCID-s2j3-7pfj-buav"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins.workflow/workflow-cps-global-lib@552.vd9cc05b8a2e1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/99352?format=api",
            "purl": "pkg:rpm/redhat/jenkins-2-plugins@3.11.1650371376-1?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3vqh-anad-xqbt"
                },
                {
                    "vulnerability": "VCID-41xr-8bvs-tucs"
                },
                {
                    "vulnerability": "VCID-a8d9-5365-qubn"
                },
                {
                    "vulnerability": "VCID-chux-mqkp-cfe5"
                },
                {
                    "vulnerability": "VCID-gv26-67cj-t3ae"
                },
                {
                    "vulnerability": "VCID-h57k-wsgx-4kbr"
                },
                {
                    "vulnerability": "VCID-hp27-w6wh-3ya6"
                },
                {
                    "vulnerability": "VCID-jj9c-e7k7-aqea"
                },
                {
                    "vulnerability": "VCID-m4y6-523t-v7ft"
                },
                {
                    "vulnerability": "VCID-msed-m3xv-rkfg"
                },
                {
                    "vulnerability": "VCID-s2j3-7pfj-buav"
                },
                {
                    "vulnerability": "VCID-x5nw-w14p-juas"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@3.11.1650371376-1%3Farch=el7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/99353?format=api",
            "purl": "pkg:rpm/redhat/jenkins-2-plugins@4.6.1650364520-1?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3vqh-anad-xqbt"
                },
                {
                    "vulnerability": "VCID-41xr-8bvs-tucs"
                },
                {
                    "vulnerability": "VCID-a8d9-5365-qubn"
                },
                {
                    "vulnerability": "VCID-chux-mqkp-cfe5"
                },
                {
                    "vulnerability": "VCID-gv26-67cj-t3ae"
                },
                {
                    "vulnerability": "VCID-h57k-wsgx-4kbr"
                },
                {
                    "vulnerability": "VCID-hp27-w6wh-3ya6"
                },
                {
                    "vulnerability": "VCID-jj9c-e7k7-aqea"
                },
                {
                    "vulnerability": "VCID-m4y6-523t-v7ft"
                },
                {
                    "vulnerability": "VCID-msed-m3xv-rkfg"
                },
                {
                    "vulnerability": "VCID-s2j3-7pfj-buav"
                },
                {
                    "vulnerability": "VCID-x5nw-w14p-juas"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.6.1650364520-1%3Farch=el8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/99350?format=api",
            "purl": "pkg:rpm/redhat/jenkins-2-plugins@4.7.1648800585-1?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3vqh-anad-xqbt"
                },
                {
                    "vulnerability": "VCID-41xr-8bvs-tucs"
                },
                {
                    "vulnerability": "VCID-a8d9-5365-qubn"
                },
                {
                    "vulnerability": "VCID-chux-mqkp-cfe5"
                },
                {
                    "vulnerability": "VCID-gv26-67cj-t3ae"
                },
                {
                    "vulnerability": "VCID-h57k-wsgx-4kbr"
                },
                {
                    "vulnerability": "VCID-hp27-w6wh-3ya6"
                },
                {
                    "vulnerability": "VCID-jj9c-e7k7-aqea"
                },
                {
                    "vulnerability": "VCID-m4y6-523t-v7ft"
                },
                {
                    "vulnerability": "VCID-msed-m3xv-rkfg"
                },
                {
                    "vulnerability": "VCID-s2j3-7pfj-buav"
                },
                {
                    "vulnerability": "VCID-x5nw-w14p-juas"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.7.1648800585-1%3Farch=el8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/99111?format=api",
            "purl": "pkg:rpm/redhat/jenkins-2-plugins@4.8.1646993358-1?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2ftm-axhf-gbbd"
                },
                {
                    "vulnerability": "VCID-2jak-uh1e-zbfx"
                },
                {
                    "vulnerability": "VCID-3vqh-anad-xqbt"
                },
                {
                    "vulnerability": "VCID-41xr-8bvs-tucs"
                },
                {
                    "vulnerability": "VCID-a8d9-5365-qubn"
                },
                {
                    "vulnerability": "VCID-chux-mqkp-cfe5"
                },
                {
                    "vulnerability": "VCID-gv26-67cj-t3ae"
                },
                {
                    "vulnerability": "VCID-h57k-wsgx-4kbr"
                },
                {
                    "vulnerability": "VCID-hp27-w6wh-3ya6"
                },
                {
                    "vulnerability": "VCID-jj9c-e7k7-aqea"
                },
                {
                    "vulnerability": "VCID-m4y6-523t-v7ft"
                },
                {
                    "vulnerability": "VCID-msed-m3xv-rkfg"
                },
                {
                    "vulnerability": "VCID-s2j3-7pfj-buav"
                },
                {
                    "vulnerability": "VCID-x5nw-w14p-juas"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.8.1646993358-1%3Farch=el8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/99354?format=api",
            "purl": "pkg:rpm/redhat/jenkins-2-plugins@4.9.1647580879-1?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3vqh-anad-xqbt"
                },
                {
                    "vulnerability": "VCID-41xr-8bvs-tucs"
                },
                {
                    "vulnerability": "VCID-a8d9-5365-qubn"
                },
                {
                    "vulnerability": "VCID-chux-mqkp-cfe5"
                },
                {
                    "vulnerability": "VCID-gv26-67cj-t3ae"
                },
                {
                    "vulnerability": "VCID-h57k-wsgx-4kbr"
                },
                {
                    "vulnerability": "VCID-hp27-w6wh-3ya6"
                },
                {
                    "vulnerability": "VCID-jj9c-e7k7-aqea"
                },
                {
                    "vulnerability": "VCID-m4y6-523t-v7ft"
                },
                {
                    "vulnerability": "VCID-msed-m3xv-rkfg"
                },
                {
                    "vulnerability": "VCID-s2j3-7pfj-buav"
                },
                {
                    "vulnerability": "VCID-x5nw-w14p-juas"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.9.1647580879-1%3Farch=el8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/99351?format=api",
            "purl": "pkg:rpm/redhat/jenkins-2-plugins@4.10.1647505461-1?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3vqh-anad-xqbt"
                },
                {
                    "vulnerability": "VCID-41xr-8bvs-tucs"
                },
                {
                    "vulnerability": "VCID-a8d9-5365-qubn"
                },
                {
                    "vulnerability": "VCID-chux-mqkp-cfe5"
                },
                {
                    "vulnerability": "VCID-gv26-67cj-t3ae"
                },
                {
                    "vulnerability": "VCID-h57k-wsgx-4kbr"
                },
                {
                    "vulnerability": "VCID-hp27-w6wh-3ya6"
                },
                {
                    "vulnerability": "VCID-jj9c-e7k7-aqea"
                },
                {
                    "vulnerability": "VCID-m4y6-523t-v7ft"
                },
                {
                    "vulnerability": "VCID-msed-m3xv-rkfg"
                },
                {
                    "vulnerability": "VCID-s2j3-7pfj-buav"
                },
                {
                    "vulnerability": "VCID-x5nw-w14p-juas"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins-2-plugins@4.10.1647505461-1%3Farch=el8"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-25174.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-25174.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-25174",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00219",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44446",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00219",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44507",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00219",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44557",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00219",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44562",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00219",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44579",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00219",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44549",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00219",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4455",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00219",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44607",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00219",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44599",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00219",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4453",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00219",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44545",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00219",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44567",
                    "published_at": "2026-04-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-25174"
        },
        {
            "reference_url": "https://github.com/CVEProject/cvelist/blob/e19344451ce1c4a4181b9f094b8fd38cd8d86c9f/2022/25xxx/CVE-2022-25174.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/CVEProject/cvelist/blob/e19344451ce1c4a4181b9f094b8fd38cd8d86c9f/2022/25xxx/CVE-2022-25174.json"
        },
        {
            "reference_url": "https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/ace0de3c2d691662021ea10306eeb407da6b6365",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/jenkinsci/workflow-cps-global-lib-plugin/commit/ace0de3c2d691662021ea10306eeb407da6b6365"
        },
        {
            "reference_url": "https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-2463"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2055734",
            "reference_id": "2055734",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2055734"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25174",
            "reference_id": "CVE-2022-25174",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25174"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-g9fx-6j5c-grmw",
            "reference_id": "GHSA-g9fx-6j5c-grmw",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-g9fx-6j5c-grmw"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2022:0871",
            "reference_id": "RHSA-2022:0871",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2022:0871"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2022:1021",
            "reference_id": "RHSA-2022:1021",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2022:1021"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2022:1025",
            "reference_id": "RHSA-2022:1025",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2022:1025"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2022:1248",
            "reference_id": "RHSA-2022:1248",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2022:1248"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2022:1420",
            "reference_id": "RHSA-2022:1420",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2022:1420"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2022:1620",
            "reference_id": "RHSA-2022:1620",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2022:1620"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 78,
            "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
            "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a8d9-5365-qubn"
}