Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/56472?format=api",
    "vulnerability_id": "VCID-suxb-vrqh-wffp",
    "summary": "Authorization bypass in Spring Security\nIn Spring Security versions 5.5.6 and 5.5.7 and older unsupported versions, RegexRequestMatcher can easily be misconfigured to be bypassed on some servlet containers. Applications using RegexRequestMatcher with `.` in the regular expression are possibly vulnerable to an authorization bypass.",
    "aliases": [
        {
            "alias": "CVE-2022-22978"
        },
        {
            "alias": "GHSA-hh32-7344-cg2f"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83058?format=api",
            "purl": "pkg:maven/org.springframework.security/spring-security-core@5.4.11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cden-3spy-pyhz"
                },
                {
                    "vulnerability": "VCID-dwcq-d6nf-1ubn"
                },
                {
                    "vulnerability": "VCID-u6vb-w2bu-ykfk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@5.4.11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82654?format=api",
            "purl": "pkg:maven/org.springframework.security/spring-security-core@5.5.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dwcq-d6nf-1ubn"
                },
                {
                    "vulnerability": "VCID-u6vb-w2bu-ykfk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@5.5.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82655?format=api",
            "purl": "pkg:maven/org.springframework.security/spring-security-core@5.6.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8dx4-u4aa-xuet"
                },
                {
                    "vulnerability": "VCID-dwcq-d6nf-1ubn"
                },
                {
                    "vulnerability": "VCID-u6vb-w2bu-ykfk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@5.6.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83061?format=api",
            "purl": "pkg:maven/org.springframework.security/spring-security-web@5.4.11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-vfqt-vr9q-2kfp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.4.11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83059?format=api",
            "purl": "pkg:maven/org.springframework.security/spring-security-web@5.5.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-vfqt-vr9q-2kfp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.5.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83060?format=api",
            "purl": "pkg:maven/org.springframework.security/spring-security-web@5.6.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r15d-pzfc-3fg7"
                },
                {
                    "vulnerability": "VCID-vfqt-vr9q-2kfp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.6.4"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/254240?format=api",
            "purl": "pkg:maven/org.springframework.security/spring-security-core@5.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cden-3spy-pyhz"
                },
                {
                    "vulnerability": "VCID-dwcq-d6nf-1ubn"
                },
                {
                    "vulnerability": "VCID-suxb-vrqh-wffp"
                },
                {
                    "vulnerability": "VCID-u6vb-w2bu-ykfk"
                },
                {
                    "vulnerability": "VCID-ykkv-ahjn-d7eb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@5.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59010?format=api",
            "purl": "pkg:maven/org.springframework.security/spring-security-core@5.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8dx4-u4aa-xuet"
                },
                {
                    "vulnerability": "VCID-cden-3spy-pyhz"
                },
                {
                    "vulnerability": "VCID-dwcq-d6nf-1ubn"
                },
                {
                    "vulnerability": "VCID-r15d-pzfc-3fg7"
                },
                {
                    "vulnerability": "VCID-suxb-vrqh-wffp"
                },
                {
                    "vulnerability": "VCID-u6vb-w2bu-ykfk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-core@5.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/994259?format=api",
            "purl": "pkg:maven/org.springframework.security/spring-security-web@5.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-suxb-vrqh-wffp"
                },
                {
                    "vulnerability": "VCID-vfqt-vr9q-2kfp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/339998?format=api",
            "purl": "pkg:maven/org.springframework.security/spring-security-web@5.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r15d-pzfc-3fg7"
                },
                {
                    "vulnerability": "VCID-suxb-vrqh-wffp"
                },
                {
                    "vulnerability": "VCID-vfqt-vr9q-2kfp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework.security/spring-security-web@5.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/96673?format=api",
            "purl": "pkg:rpm/redhat/jenkins@2.387.3.1684911776-3?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2cup-9gdn-yyhk"
                },
                {
                    "vulnerability": "VCID-56jv-htmt-rkew"
                },
                {
                    "vulnerability": "VCID-6925-fwf4-f7df"
                },
                {
                    "vulnerability": "VCID-7xf4-2kjf-87fe"
                },
                {
                    "vulnerability": "VCID-dvyn-m8js-xbc2"
                },
                {
                    "vulnerability": "VCID-hqzr-vc5w-9ff5"
                },
                {
                    "vulnerability": "VCID-mfub-hwcq-pqbt"
                },
                {
                    "vulnerability": "VCID-suxb-vrqh-wffp"
                },
                {
                    "vulnerability": "VCID-xznu-vdv9-eue6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/jenkins@2.387.3.1684911776-3%3Farch=el8"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-22978.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-22978.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-22978",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.90224",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99601",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.90406",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99603",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.90406",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99607",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.90406",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99606",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.90406",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99605",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.90406",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99604",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.9071",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99629",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.9071",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99625",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.9071",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99622",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.9071",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99628",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.9071",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99626",
                    "published_at": "2026-04-26T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-22978"
        },
        {
            "reference_url": "https://github.com/anchore/grype/issues/2158",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/anchore/grype/issues/2158"
        },
        {
            "reference_url": "https://github.com/spring-projects/spring-security",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/spring-projects/spring-security"
        },
        {
            "reference_url": "https://github.com/spring-projects/spring-security/blob/main/web/src/main/java/org/springframework/security/web/util/matcher/RegexRequestMatcher.java",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/spring-projects/spring-security/blob/main/web/src/main/java/org/springframework/security/web/util/matcher/RegexRequestMatcher.java"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22978",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22978"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20220707-0003",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.netapp.com/advisory/ntap-20220707-0003"
        },
        {
            "reference_url": "https://spring.io/security/cve-2022-22978",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://spring.io/security/cve-2022-22978"
        },
        {
            "reference_url": "https://tanzu.vmware.com/security/cve-2022-22978",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://tanzu.vmware.com/security/cve-2022-22978"
        },
        {
            "reference_url": "https://www.oracle.com/security-alerts/cpujul2022.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.oracle.com/security-alerts/cpujul2022.html"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2087606",
            "reference_id": "2087606",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2087606"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-hh32-7344-cg2f",
            "reference_id": "GHSA-hh32-7344-cg2f",
            "reference_type": "",
            "scores": [
                {
                    "value": "CRITICAL",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-hh32-7344-cg2f"
        },
        {
            "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"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:3299",
            "reference_id": "RHSA-2023:3299",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:3299"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 285,
            "name": "Improper Authorization",
            "description": "The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action."
        },
        {
            "cwe_id": 863,
            "name": "Incorrect Authorization",
            "description": "The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions."
        },
        {
            "cwe_id": 625,
            "name": "Permissive Regular Expression",
            "description": "The product uses a regular expression that does not sufficiently restrict the set of allowed values."
        },
        {
            "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": 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."
        }
    ],
    "exploits": [],
    "severity_range_score": "9.0 - 10.0",
    "exploitability": "2.0",
    "weighted_severity": "9.0",
    "risk_score": 10.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-suxb-vrqh-wffp"
}