Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1054941?format=api",
    "purl": "pkg:deb/debian/newlib@3.3.0-1.3%2Bdeb12u1",
    "type": "deb",
    "namespace": "debian",
    "name": "newlib",
    "version": "3.3.0-1.3+deb12u1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.4.0.20231231-4",
    "latest_non_vulnerable_version": "4.4.0.20231231-4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/74293?format=api",
            "vulnerability_id": "VCID-cztw-ay3e-cfeq",
            "summary": "newlib: arbitrary code execution via the time unit scaling in the _gettimeofday function",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-30949.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-30949.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-30949",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71921",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71895",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.719",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71883",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71929",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71933",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7193",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71821",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7184",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71813",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71852",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71863",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71887",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00693",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71869",
                            "published_at": "2026-04-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-30949"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-30949",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-30949"
                },
                {
                    "reference_url": "https://inbox.sourceware.org/newlib/20231129035714.469943-1-visitorckw%40gmail.com/",
                    "reference_id": "20231129035714.469943-1-visitorckw%40gmail.com",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:Y/T:T/P:M/B:A/M:M/D:T/2024-08-20T17:35:37Z/"
                        }
                    ],
                    "url": "https://inbox.sourceware.org/newlib/20231129035714.469943-1-visitorckw%40gmail.com/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2306118",
                    "reference_id": "2306118",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2306118"
                },
                {
                    "reference_url": "https://gist.github.com/visitorckw/6b26e599241ea80210ea136b28441661",
                    "reference_id": "6b26e599241ea80210ea136b28441661",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:Y/T:T/P:M/B:A/M:M/D:T/2024-08-20T17:35:37Z/"
                        }
                    ],
                    "url": "https://gist.github.com/visitorckw/6b26e599241ea80210ea136b28441661"
                },
                {
                    "reference_url": "https://sourceware.org/git/?p=newlib-cygwin.git%3Ba=commit%3Bh=5f15d7c5817b07a6b18cbab17342c95cb7b42be4",
                    "reference_id": "?p=newlib-cygwin.git%3Ba=commit%3Bh=5f15d7c5817b07a6b18cbab17342c95cb7b42be4",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:Y/T:T/P:M/B:A/M:M/D:T/2024-08-20T17:35:37Z/"
                        }
                    ],
                    "url": "https://sourceware.org/git/?p=newlib-cygwin.git%3Ba=commit%3Bh=5f15d7c5817b07a6b18cbab17342c95cb7b42be4"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1054942?format=api",
                    "purl": "pkg:deb/debian/newlib@4.4.0.20231231-4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/newlib@4.4.0.20231231-4"
                }
            ],
            "aliases": [
                "CVE-2024-30949"
            ],
            "risk_score": 4.4,
            "exploitability": "0.5",
            "weighted_severity": "8.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cztw-ay3e-cfeq"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/94794?format=api",
            "vulnerability_id": "VCID-pw8g-an3z-jydv",
            "summary": "A flaw was found in newlib in versions prior to 4.0.0. Improper overflow validation in the memory allocation functions mEMALIGn, pvALLOc, nano_memalign, nano_valloc, nano_pvalloc could case an integer overflow, leading to an allocation of a small buffer and then to a heap-based buffer overflow.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3420",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00138",
                            "scoring_system": "epss",
                            "scoring_elements": "0.33337",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00138",
                            "scoring_system": "epss",
                            "scoring_elements": "0.33939",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00138",
                            "scoring_system": "epss",
                            "scoring_elements": "0.33977",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00138",
                            "scoring_system": "epss",
                            "scoring_elements": "0.33962",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00138",
                            "scoring_system": "epss",
                            "scoring_elements": "0.33931",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00138",
                            "scoring_system": "epss",
                            "scoring_elements": "0.33558",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00138",
                            "scoring_system": "epss",
                            "scoring_elements": "0.33537",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00138",
                            "scoring_system": "epss",
                            "scoring_elements": "0.33453",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00181",
                            "scoring_system": "epss",
                            "scoring_elements": "0.39666",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00181",
                            "scoring_system": "epss",
                            "scoring_elements": "0.39815",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00181",
                            "scoring_system": "epss",
                            "scoring_elements": "0.39838",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00181",
                            "scoring_system": "epss",
                            "scoring_elements": "0.39759",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00181",
                            "scoring_system": "epss",
                            "scoring_elements": "0.39814",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00181",
                            "scoring_system": "epss",
                            "scoring_elements": "0.39828",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00181",
                            "scoring_system": "epss",
                            "scoring_elements": "0.39837",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00181",
                            "scoring_system": "epss",
                            "scoring_elements": "0.39801",
                            "published_at": "2026-04-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3420"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3420",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3420"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984446",
                    "reference_id": "984446",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984446"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1054941?format=api",
                    "purl": "pkg:deb/debian/newlib@3.3.0-1.3%2Bdeb12u1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-cztw-ay3e-cfeq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/newlib@3.3.0-1.3%252Bdeb12u1"
                }
            ],
            "aliases": [
                "CVE-2021-3420"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pw8g-an3z-jydv"
        }
    ],
    "risk_score": "4.4",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/newlib@3.3.0-1.3%252Bdeb12u1"
}