Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/58322?format=api",
    "vulnerability_id": "VCID-zezb-he8c-sfbt",
    "summary": "A vulnerability was found in obgm libcoap 4.3.4. It has been rated as critical. Affected by this issue is the function get_split_entry of the file src/coap_oscore.c of the component Configuration File Handler. The manipulation leads to stack-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. VDB-252206 is the identifier assigned to this vulnerability.",
    "aliases": [
        {
            "alias": "CVE-2024-0962"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51745?format=api",
            "purl": "pkg:deb/debian/libcoap2@0?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcoap2@0%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51743?format=api",
            "purl": "pkg:deb/debian/libcoap2@4.2.1-1?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcoap2@4.2.1-1%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51766?format=api",
            "purl": "pkg:deb/debian/libcoap3@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcoap3@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51754?format=api",
            "purl": "pkg:deb/debian/libcoap3@4.3.1-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5tgh-x6d9-mbgb"
                },
                {
                    "vulnerability": "VCID-5w1d-wgvr-r7bg"
                },
                {
                    "vulnerability": "VCID-7djz-xrep-k7ef"
                },
                {
                    "vulnerability": "VCID-b2uf-h5my-6bck"
                },
                {
                    "vulnerability": "VCID-b315-43mj-fqb3"
                },
                {
                    "vulnerability": "VCID-c8vb-bh6q-q7hb"
                },
                {
                    "vulnerability": "VCID-fhgk-zn6u-9fbn"
                },
                {
                    "vulnerability": "VCID-mv5x-1zqs-jug2"
                },
                {
                    "vulnerability": "VCID-nxvj-r8hb-rqg9"
                },
                {
                    "vulnerability": "VCID-r6an-ggdy-sfav"
                },
                {
                    "vulnerability": "VCID-rx5d-fpth-4ucf"
                },
                {
                    "vulnerability": "VCID-s4uj-j29w-bfba"
                },
                {
                    "vulnerability": "VCID-ukp6-3xj7-ubf5"
                },
                {
                    "vulnerability": "VCID-v8k5-h7yw-tkh6"
                },
                {
                    "vulnerability": "VCID-wrqe-w5pf-w7dq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcoap3@4.3.1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51782?format=api",
            "purl": "pkg:deb/debian/libcoap3@4.3.4-1.1%2Bdeb13u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcoap3@4.3.4-1.1%252Bdeb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51760?format=api",
            "purl": "pkg:deb/debian/libcoap3@4.3.4-1.1%2Bdeb13u3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mv5x-1zqs-jug2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcoap3@4.3.4-1.1%252Bdeb13u3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51778?format=api",
            "purl": "pkg:deb/debian/libcoap3@4.3.5-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcoap3@4.3.5-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51755?format=api",
            "purl": "pkg:deb/debian/libcoap3@4.3.5-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcoap3@4.3.5-3%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-0962",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00159",
                    "scoring_system": "epss",
                    "scoring_elements": "0.36553",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.00159",
                    "scoring_system": "epss",
                    "scoring_elements": "0.36746",
                    "published_at": "2026-06-14T12:55:00Z"
                },
                {
                    "value": "0.00159",
                    "scoring_system": "epss",
                    "scoring_elements": "0.36757",
                    "published_at": "2026-06-13T12:55:00Z"
                },
                {
                    "value": "0.00159",
                    "scoring_system": "epss",
                    "scoring_elements": "0.36733",
                    "published_at": "2026-06-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-0962"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061704",
            "reference_id": "1061704",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061704"
        },
        {
            "reference_url": "https://github.com/obgm/libcoap/issues/1310",
            "reference_id": "1310",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
                },
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-01-31T17:58:52Z/"
                }
            ],
            "url": "https://github.com/obgm/libcoap/issues/1310"
        },
        {
            "reference_url": "https://github.com/obgm/libcoap/issues/1310#issue-2099860835",
            "reference_id": "1310#issue-2099860835",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
                },
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-01-31T17:58:52Z/"
                }
            ],
            "url": "https://github.com/obgm/libcoap/issues/1310#issue-2099860835"
        },
        {
            "reference_url": "https://github.com/obgm/libcoap/pull/1311",
            "reference_id": "1311",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
                },
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-01-31T17:58:52Z/"
                }
            ],
            "url": "https://github.com/obgm/libcoap/pull/1311"
        },
        {
            "reference_url": "https://vuldb.com/?ctiid.252206",
            "reference_id": "?ctiid.252206",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
                },
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-01-31T17:58:52Z/"
                }
            ],
            "url": "https://vuldb.com/?ctiid.252206"
        },
        {
            "reference_url": "https://vuldb.com/?id.252206",
            "reference_id": "?id.252206",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
                },
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-01-31T17:58:52Z/"
                }
            ],
            "url": "https://vuldb.com/?id.252206"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 121,
            "name": "Stack-based Buffer Overflow",
            "description": "A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function)."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.3 - 7.5",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zezb-he8c-sfbt"
}