Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/12133?format=api",
    "vulnerability_id": "VCID-vvyu-uk8r-wuaz",
    "summary": "Log entry injection in Spring Framework\nIn Spring Framework versions 5.3.0 - 5.3.13, 5.2.0 - 5.2.18, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries. This is a follow-up to CVE-2021-22096 that protects against additional types of input and in more places of the Spring Framework codebase.",
    "aliases": [
        {
            "alias": "CVE-2021-22060"
        },
        {
            "alias": "GHSA-6gf2-pvqw-37ph"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/43377?format=api",
            "purl": "pkg:maven/org.springframework/spring-core@5.3.14",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6ysx-5wcw-f7b5"
                },
                {
                    "vulnerability": "VCID-c74k-e1me-pfb2"
                },
                {
                    "vulnerability": "VCID-cyjt-4vjn-mbc7"
                },
                {
                    "vulnerability": "VCID-dy4t-tm9m-rfex"
                },
                {
                    "vulnerability": "VCID-k17s-ttg2-ubgj"
                },
                {
                    "vulnerability": "VCID-k2en-h5n1-r7gr"
                },
                {
                    "vulnerability": "VCID-w6br-v2gm-j7gr"
                },
                {
                    "vulnerability": "VCID-z3th-j593-m7bg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-core@5.3.14"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/48473?format=api",
            "purl": "pkg:maven/org.springframework/spring-core@5.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cpsj-4k25-wufe"
                },
                {
                    "vulnerability": "VCID-dy4t-tm9m-rfex"
                },
                {
                    "vulnerability": "VCID-vvyu-uk8r-wuaz"
                },
                {
                    "vulnerability": "VCID-y3uz-etva-sufh"
                },
                {
                    "vulnerability": "VCID-ygpk-fb56-sqa4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-core@5.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/48424?format=api",
            "purl": "pkg:maven/org.springframework/spring-core@5.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6ysx-5wcw-f7b5"
                },
                {
                    "vulnerability": "VCID-c74k-e1me-pfb2"
                },
                {
                    "vulnerability": "VCID-cpsj-4k25-wufe"
                },
                {
                    "vulnerability": "VCID-cyjt-4vjn-mbc7"
                },
                {
                    "vulnerability": "VCID-dy4t-tm9m-rfex"
                },
                {
                    "vulnerability": "VCID-k17s-ttg2-ubgj"
                },
                {
                    "vulnerability": "VCID-k2en-h5n1-r7gr"
                },
                {
                    "vulnerability": "VCID-vvyu-uk8r-wuaz"
                },
                {
                    "vulnerability": "VCID-w6br-v2gm-j7gr"
                },
                {
                    "vulnerability": "VCID-ygpk-fb56-sqa4"
                },
                {
                    "vulnerability": "VCID-z3th-j593-m7bg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-core@5.3.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-22060.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-22060.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-22060",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00164",
                    "scoring_system": "epss",
                    "scoring_elements": "0.36805",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00164",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37257",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00164",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37422",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00164",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37446",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00164",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37274",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00164",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37325",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00164",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37338",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00164",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37349",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00164",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37316",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00164",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37288",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00164",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37334",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00164",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37317",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00168",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37951",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00168",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37621",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00168",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37716",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00168",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37738",
                    "published_at": "2026-04-24T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-22060"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22060",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22060"
        },
        {
            "reference_url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.oracle.com/security-alerts/cpuapr2022.html"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2055480",
            "reference_id": "2055480",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2055480"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-22060",
            "reference_id": "CVE-2021-22060",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-22060"
        },
        {
            "reference_url": "https://tanzu.vmware.com/security/cve-2021-22060",
            "reference_id": "CVE-2021-22060",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://tanzu.vmware.com/security/cve-2021-22060"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-6gf2-pvqw-37ph",
            "reference_id": "GHSA-6gf2-pvqw-37ph",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-6gf2-pvqw-37ph"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2022:5532",
            "reference_id": "RHSA-2022:5532",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2022:5532"
        }
    ],
    "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."
        }
    ],
    "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-vvyu-uk8r-wuaz"
}