Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/12940?format=api",
    "vulnerability_id": "VCID-s2j3-7pfj-buav",
    "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nA sandbox bypass vulnerability in Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier allows attackers with Item/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM through crafted SCM contents, if a global Pipeline library already exists.",
    "aliases": [
        {
            "alias": "CVE-2022-25181"
        },
        {
            "alias": "GHSA-7w2w-fwpf-9m4h"
        }
    ],
    "fixed_packages": [
        {
            "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/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-25181.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-25181.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-25181",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00292",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52543",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00292",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52541",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00292",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52592",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00292",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52576",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00292",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52561",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00292",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52601",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00292",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52608",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00292",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52593",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00292",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52501",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00292",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52527",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00292",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52494",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00292",
                    "scoring_system": "epss",
                    "scoring_elements": "0.52547",
                    "published_at": "2026-04-08T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-25181"
        },
        {
            "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-2441",
            "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-2441"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2055797",
            "reference_id": "2055797",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2055797"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25181",
            "reference_id": "CVE-2022-25181",
            "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-25181"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-7w2w-fwpf-9m4h",
            "reference_id": "GHSA-7w2w-fwpf-9m4h",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-7w2w-fwpf-9m4h"
        },
        {
            "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."
        },
        {
            "cwe_id": 693,
            "name": "Protection Mechanism Failure",
            "description": "The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product."
        },
        {
            "cwe_id": 179,
            "name": "Incorrect Behavior Order: Early Validation",
            "description": "The product validates input before applying protection mechanisms that modify the input, which could allow an attacker to bypass the validation via dangerous inputs that only arise after the modification."
        }
    ],
    "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-s2j3-7pfj-buav"
}