Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/100103?format=api",
    "vulnerability_id": "VCID-8w2d-k425-2ycv",
    "summary": "bouncy-castle: Improper Authentication",
    "aliases": [
        {
            "alias": "CVE-2022-45146"
        },
        {
            "alias": "GHSA-68m8-v89j-7j2p"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/148749?format=api",
            "purl": "pkg:maven/org.bouncycastle/bc-fips@1.0.2.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-98ws-cchw-a3fe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.bouncycastle/bc-fips@1.0.2.4"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/302454?format=api",
            "purl": "pkg:maven/org.bouncycastle/bc-fips@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8w2d-k425-2ycv"
                },
                {
                    "vulnerability": "VCID-98ws-cchw-a3fe"
                },
                {
                    "vulnerability": "VCID-crd1-k1qv-jkec"
                },
                {
                    "vulnerability": "VCID-txmh-5548-ckdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.bouncycastle/bc-fips@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/302455?format=api",
            "purl": "pkg:maven/org.bouncycastle/bc-fips@1.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8w2d-k425-2ycv"
                },
                {
                    "vulnerability": "VCID-98ws-cchw-a3fe"
                },
                {
                    "vulnerability": "VCID-crd1-k1qv-jkec"
                },
                {
                    "vulnerability": "VCID-txmh-5548-ckdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.bouncycastle/bc-fips@1.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80399?format=api",
            "purl": "pkg:maven/org.bouncycastle/bc-fips@1.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8w2d-k425-2ycv"
                },
                {
                    "vulnerability": "VCID-98ws-cchw-a3fe"
                },
                {
                    "vulnerability": "VCID-txmh-5548-ckdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.bouncycastle/bc-fips@1.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58705?format=api",
            "purl": "pkg:maven/org.bouncycastle/bc-fips@1.0.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8w2d-k425-2ycv"
                },
                {
                    "vulnerability": "VCID-98ws-cchw-a3fe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.bouncycastle/bc-fips@1.0.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/621894?format=api",
            "purl": "pkg:maven/org.bouncycastle/bc-fips@1.0.2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8w2d-k425-2ycv"
                },
                {
                    "vulnerability": "VCID-98ws-cchw-a3fe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.bouncycastle/bc-fips@1.0.2.3"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-45146.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-45146.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-45146",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00148",
                    "scoring_system": "epss",
                    "scoring_elements": "0.34995",
                    "published_at": "2026-06-04T12:55:00Z"
                },
                {
                    "value": "0.00148",
                    "scoring_system": "epss",
                    "scoring_elements": "0.35105",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.00148",
                    "scoring_system": "epss",
                    "scoring_elements": "0.35091",
                    "published_at": "2026-06-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-45146"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/bcgit/bc-java/wiki/CVE-2022-45146",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/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/bcgit/bc-java/wiki/CVE-2022-45146"
        },
        {
            "reference_url": "https://mvnrepository.com/artifact/org.bouncycastle/bc-fips",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://mvnrepository.com/artifact/org.bouncycastle/bc-fips"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45146",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/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-2022-45146"
        },
        {
            "reference_url": "https://www.bouncycastle.org/latest_releases.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/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.bouncycastle.org/latest_releases.html"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2256406",
            "reference_id": "2256406",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2256406"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-68m8-v89j-7j2p",
            "reference_id": "GHSA-68m8-v89j-7j2p",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-68m8-v89j-7j2p"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 416,
            "name": "Use After Free",
            "description": "Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code."
        },
        {
            "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-8w2d-k425-2ycv"
}