Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5345?format=api",
    "vulnerability_id": "VCID-bf6s-vx4r-ufde",
    "summary": "",
    "aliases": [
        {
            "alias": "CVE-2018-20673"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/348371?format=api",
            "purl": "pkg:rpm/redhat/gcc@8.5.0-3?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bf6s-vx4r-ufde"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/gcc@8.5.0-3%3Farch=el8"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-20673.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-20673.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-20673",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26101",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26301",
                    "published_at": "2026-06-12T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26314",
                    "published_at": "2026-06-13T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26299",
                    "published_at": "2026-06-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-20673"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20673",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20673"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1664709",
            "reference_id": "1664709",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1664709"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:4386",
            "reference_id": "RHSA-2021:4386",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:4386"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 190,
            "name": "Integer Overflow or Wraparound",
            "description": "The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.3 - 5.3",
    "exploitability": "0.5",
    "weighted_severity": "4.8",
    "risk_score": 2.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bf6s-vx4r-ufde"
}