Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/11323?format=api",
    "vulnerability_id": "VCID-tdb7-6gx7-1ucr",
    "summary": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\nThe file browser in Jenkins may interpret some paths to files as absolute on Windows, resulting in a path traversal vulnerability allowing attackers with Overall/Read permission (Windows controller) or Job/Workspace permission (Windows agents) to obtain the contents of arbitrary files.",
    "aliases": [
        {
            "alias": "CVE-2021-21683"
        },
        {
            "alias": "GHSA-4pw5-r58h-fv24"
        }
    ],
    "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-21683",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01739",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82445",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.01739",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82566",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.01739",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82544",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.01739",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8254",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.01739",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82503",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.01739",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82508",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.01739",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82459",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.01739",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82463",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.01739",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82512",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.01739",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82493",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.01739",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82487",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.01739",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82431",
                    "published_at": "2026-04-01T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21683"
        },
        {
            "reference_url": "https://github.com/jenkinsci/jenkins",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/jenkinsci/jenkins"
        },
        {
            "reference_url": "https://github.com/jenkinsci/jenkins/commit/3f679fc12d073676a4441d3fa8b5fff34c07662f",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/jenkinsci/jenkins/commit/3f679fc12d073676a4441d3fa8b5fff34c07662f"
        },
        {
            "reference_url": "https://www.jenkins.io/security/advisory/2021-10-06/#SECURITY-2481",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.jenkins.io/security/advisory/2021-10-06/#SECURITY-2481"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2021/10/06/1",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "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-21683",
            "reference_id": "CVE-2021-21683",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21683"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-4pw5-r58h-fv24",
            "reference_id": "GHSA-4pw5-r58h-fv24",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-4pw5-r58h-fv24"
        }
    ],
    "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": 22,
            "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
            "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
        },
        {
            "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": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tdb7-6gx7-1ucr"
}