Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/11320?format=api",
    "vulnerability_id": "VCID-4m6t-zty2-b3d6",
    "summary": "Improper Encoding or Escaping of Output\nJenkins accepts names of jobs and other entities with a trailing dot character, potentially replacing the configuration and data of other entities on Windows.",
    "aliases": [
        {
            "alias": "CVE-2021-21682"
        },
        {
            "alias": "GHSA-6q4g-84f3-mw74"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/41247?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.303.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-53km-desw-w7d6"
                },
                {
                    "vulnerability": "VCID-7w87-bm8n-bbbr"
                },
                {
                    "vulnerability": "VCID-b4zg-38x9-23dn"
                },
                {
                    "vulnerability": "VCID-fvza-3rhj-8kbp"
                },
                {
                    "vulnerability": "VCID-h3nf-gwsr-5qf3"
                },
                {
                    "vulnerability": "VCID-kf3a-yce1-auh4"
                },
                {
                    "vulnerability": "VCID-remx-jas5-1bfm"
                },
                {
                    "vulnerability": "VCID-zgtd-8mf6-ruc9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.303.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82059?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.315",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.315"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373432?format=api",
            "purl": "pkg:alpm/archlinux/jenkins@2.314-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3bxq-vmjj-kqfe"
                },
                {
                    "vulnerability": "VCID-4m6t-zty2-b3d6"
                },
                {
                    "vulnerability": "VCID-tdb7-6gx7-1ucr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/jenkins@2.314-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/40604?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.303.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4m6t-zty2-b3d6"
                },
                {
                    "vulnerability": "VCID-tdb7-6gx7-1ucr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.303.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/143888?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.304",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1kf2-8j67-7kg3"
                },
                {
                    "vulnerability": "VCID-4m6t-zty2-b3d6"
                },
                {
                    "vulnerability": "VCID-53km-desw-w7d6"
                },
                {
                    "vulnerability": "VCID-7w87-bm8n-bbbr"
                },
                {
                    "vulnerability": "VCID-b4zg-38x9-23dn"
                },
                {
                    "vulnerability": "VCID-fvza-3rhj-8kbp"
                },
                {
                    "vulnerability": "VCID-h3nf-gwsr-5qf3"
                },
                {
                    "vulnerability": "VCID-kf3a-yce1-auh4"
                },
                {
                    "vulnerability": "VCID-nq1x-s9hz-a7fb"
                },
                {
                    "vulnerability": "VCID-r3ry-745m-zuh1"
                },
                {
                    "vulnerability": "VCID-r3v1-qkky-dqcq"
                },
                {
                    "vulnerability": "VCID-remx-jas5-1bfm"
                },
                {
                    "vulnerability": "VCID-tdb7-6gx7-1ucr"
                },
                {
                    "vulnerability": "VCID-wuvf-kdtu-tkc2"
                },
                {
                    "vulnerability": "VCID-zgtd-8mf6-ruc9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.304"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/40606?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.314",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4m6t-zty2-b3d6"
                },
                {
                    "vulnerability": "VCID-tdb7-6gx7-1ucr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.314"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21682",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00222",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44755",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00222",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44879",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00222",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4482",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00222",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44872",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00222",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44874",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00222",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44891",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00222",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44859",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00222",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44861",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00222",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44913",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00222",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44907",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00222",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44842",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00222",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44777",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00222",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44857",
                    "published_at": "2026-04-02T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21682"
        },
        {
            "reference_url": "https://github.com/jenkinsci/jenkins/commit/c2c2b59071265aea07f88d5e95297c0a433921c3",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/jenkinsci/jenkins/commit/c2c2b59071265aea07f88d5e95297c0a433921c3"
        },
        {
            "reference_url": "https://www.jenkins.io/security/advisory/2021-10-06/#SECURITY-2424",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.jenkins.io/security/advisory/2021-10-06/#SECURITY-2424"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2021/10/06/1",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2021/10/06/1"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2449",
            "reference_id": "AVG-2449",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2449"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21682",
            "reference_id": "CVE-2021-21682",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21682"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-6q4g-84f3-mw74",
            "reference_id": "GHSA-6q4g-84f3-mw74",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-6q4g-84f3-mw74"
        }
    ],
    "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": 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": 42,
            "name": "Path Equivalence: 'filename.' (Trailing Dot)",
            "description": "The product accepts path input in the form of trailing dot ('filedir.') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4m6t-zty2-b3d6"
}