Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53566?format=api",
    "vulnerability_id": "VCID-g87j-yupf-tybu",
    "summary": "Garbage collection issue in BC-FJA in Java 13 and later\nAn issue was discovered in the FIPS Java API of Bouncy Castle BC-FJA before 1.0.2.4. Changes to the JVM garbage collector in Java 13 and later trigger an issue in the BC-FJA FIPS modules where it is possible for temporary keys used by the module to be zeroed out while still in use by the module, resulting in errors or potential information loss. \n\nNOTE: FIPS compliant users are unaffected because the FIPS certification is only for Java 7, 8, and 11.",
    "aliases": [
        {
            "alias": "CVE-2022-45146"
        },
        {
            "alias": "GHSA-68m8-v89j-7j2p"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/81144?format=api",
            "purl": "pkg:maven/org.bouncycastle/bc-fips@1.0.2.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4rs8-tp92-p7ck"
                }
            ],
            "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/243643?format=api",
            "purl": "pkg:maven/org.bouncycastle/bc-fips@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2u8v-56gn-8uc2"
                },
                {
                    "vulnerability": "VCID-4rs8-tp92-p7ck"
                },
                {
                    "vulnerability": "VCID-g87j-yupf-tybu"
                },
                {
                    "vulnerability": "VCID-nau9-4auz-pqbs"
                },
                {
                    "vulnerability": "VCID-rary-mqyu-2yes"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.bouncycastle/bc-fips@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/243644?format=api",
            "purl": "pkg:maven/org.bouncycastle/bc-fips@1.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2u8v-56gn-8uc2"
                },
                {
                    "vulnerability": "VCID-4rs8-tp92-p7ck"
                },
                {
                    "vulnerability": "VCID-g87j-yupf-tybu"
                },
                {
                    "vulnerability": "VCID-nau9-4auz-pqbs"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.bouncycastle/bc-fips@1.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73954?format=api",
            "purl": "pkg:maven/org.bouncycastle/bc-fips@1.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2u8v-56gn-8uc2"
                },
                {
                    "vulnerability": "VCID-4rs8-tp92-p7ck"
                },
                {
                    "vulnerability": "VCID-g87j-yupf-tybu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.bouncycastle/bc-fips@1.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/38166?format=api",
            "purl": "pkg:maven/org.bouncycastle/bc-fips@1.0.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4rs8-tp92-p7ck"
                },
                {
                    "vulnerability": "VCID-g87j-yupf-tybu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.bouncycastle/bc-fips@1.0.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/342240?format=api",
            "purl": "pkg:maven/org.bouncycastle/bc-fips@1.0.2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4rs8-tp92-p7ck"
                },
                {
                    "vulnerability": "VCID-g87j-yupf-tybu"
                }
            ],
            "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.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31736",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31682",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31652",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.316",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31781",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00131",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32575",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00131",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32598",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00131",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3256",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00131",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32587",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00131",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32625",
                    "published_at": "2026-04-11T12: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-g87j-yupf-tybu"
}