Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/18104?format=api",
    "vulnerability_id": "VCID-6kq6-uyzr-mfbf",
    "summary": "Out-of-bounds Write\nThe OCB feature in libnettle in Nettle 3.9 before 3.9.1 allows memory corruption.",
    "aliases": [
        {
            "alias": "CVE-2023-36660"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58426?format=api",
            "purl": "pkg:conan/nettle@3.9.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:conan/nettle@3.9.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/931789?format=api",
            "purl": "pkg:deb/debian/nettle@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nettle@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/931783?format=api",
            "purl": "pkg:deb/debian/nettle@3.7.3-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nettle@3.7.3-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/931781?format=api",
            "purl": "pkg:deb/debian/nettle@3.8.1-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nettle@3.8.1-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/931785?format=api",
            "purl": "pkg:deb/debian/nettle@3.10.1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nettle@3.10.1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/931784?format=api",
            "purl": "pkg:deb/debian/nettle@3.10.2-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nettle@3.10.2-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/77382?format=api",
            "purl": "pkg:ebuild/dev-libs/nettle@3.9.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-libs/nettle@3.9.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58425?format=api",
            "purl": "pkg:conan/nettle@3.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6kq6-uyzr-mfbf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:conan/nettle@3.9"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-36660.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2023-36660.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-36660",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31771",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31815",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31634",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31685",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31714",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31718",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31678",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31641",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31675",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00124",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31653",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00133",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32389",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00133",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32805",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00133",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32655",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00133",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3254",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00133",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32457",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00133",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32318",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00133",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32382",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00133",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32392",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00133",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32299",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00133",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32321",
                    "published_at": "2026-05-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-36660"
        },
        {
            "reference_url": "https://bugzilla.suse.com/show_bug.cgi?id=1212112",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.suse.com/show_bug.cgi?id=1212112"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://git.lysator.liu.se/nettle/nettle/-/commit/867a4548b95705291a3afdd66d76e7f17ba2618f",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://git.lysator.liu.se/nettle/nettle/-/commit/867a4548b95705291a3afdd66d76e7f17ba2618f"
        },
        {
            "reference_url": "https://git.lysator.liu.se/nettle/nettle/-/compare/nettle_3.9_release_20230514...nettle_3.9.1_release_20230601",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://git.lysator.liu.se/nettle/nettle/-/compare/nettle_3.9_release_20230514...nettle_3.9.1_release_20230601"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2217430",
            "reference_id": "2217430",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2217430"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36660",
            "reference_id": "CVE-2023-36660",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36660"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202401-24",
            "reference_id": "GLSA-202401-24",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/202401-24"
        }
    ],
    "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": 787,
            "name": "Out-of-bounds Write",
            "description": "The product writes data past the end, or before the beginning, of the intended buffer."
        },
        {
            "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": 119,
            "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer",
            "description": "The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.3 - 6.1",
    "exploitability": "0.5",
    "weighted_severity": "4.8",
    "risk_score": 2.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6kq6-uyzr-mfbf"
}