Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/118863?format=api",
    "purl": "pkg:deb/debian/node-mongodb@3.5.6%2B~cs11.12.19-1?distro=bullseye",
    "type": "deb",
    "namespace": "debian",
    "name": "node-mongodb",
    "version": "3.5.6+~cs11.12.19-1",
    "qualifiers": {
        "distro": "bullseye"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.6.4+~cs11.13.19-1",
    "latest_non_vulnerable_version": "3.6.4+~cs11.13.19-2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52452?format=api",
            "vulnerability_id": "VCID-egdn-jvdp-nyep",
            "summary": "Deserialization of Untrusted Data\nIncorrect parsing of certain JSON input may result in js-bson not correctly serializing BSON. This may cause unexpected application behaviour including data disclosure.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-2391",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00379",
                            "scoring_system": "epss",
                            "scoring_elements": "0.5976",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.00379",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59717",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00379",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59767",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00379",
                            "scoring_system": "epss",
                            "scoring_elements": "0.5977",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00379",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59761",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00379",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59741",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-2391"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-2391",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-2391"
                },
                {
                    "reference_url": "https://github.com/mongodb/js-bson",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/mongodb/js-bson"
                },
                {
                    "reference_url": "https://github.com/mongodb/js-bson/releases/tag/v1.1.4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/mongodb/js-bson/releases/tag/v1.1.4"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-2391",
                    "reference_id": "CVE-2019-2391",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-2391"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-4jwp-vfvf-657p",
                    "reference_id": "GHSA-4jwp-vfvf-657p",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-4jwp-vfvf-657p"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/118863?format=api",
                    "purl": "pkg:deb/debian/node-mongodb@3.5.6%2B~cs11.12.19-1?distro=bullseye",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-mongodb@3.5.6%252B~cs11.12.19-1%3Fdistro=bullseye"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/118862?format=api",
                    "purl": "pkg:deb/debian/node-mongodb@3.6.4%2B~cs11.13.19-1?distro=bullseye",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-mongodb@3.6.4%252B~cs11.13.19-1%3Fdistro=bullseye"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/118860?format=api",
                    "purl": "pkg:deb/debian/node-mongodb@3.6.4%2B~cs11.13.19-2?distro=bullseye",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-mongodb@3.6.4%252B~cs11.13.19-2%3Fdistro=bullseye"
                }
            ],
            "aliases": [
                "CVE-2019-2391",
                "GHSA-4jwp-vfvf-657p"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-egdn-jvdp-nyep"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52438?format=api",
            "vulnerability_id": "VCID-yuyr-c6ed-ffem",
            "summary": "bson is vulnerable to Deserialization of Untrusted Data. The package will ignore an unknown value for an object's `_bsotype`, leading to cases where an object is serialized as a document rather than the intended BSON type.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7610.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-2020-7610.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7610",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00541",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68059",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.00541",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68019",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00541",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68058",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00541",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68066",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00541",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68057",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00541",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68043",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7610"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7610",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7610"
                },
                {
                    "reference_url": "https://github.com/mongodb/js-bson/commit/3809c1313a7b2a8001065f0271199df9fa3d16a8",
                    "reference_id": "",
                    "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": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/mongodb/js-bson/commit/3809c1313a7b2a8001065f0271199df9fa3d16a8"
                },
                {
                    "reference_url": "https://snyk.io/vuln/SNYK-JS-BSON-561052",
                    "reference_id": "",
                    "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": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://snyk.io/vuln/SNYK-JS-BSON-561052"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1820136",
                    "reference_id": "1820136",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1820136"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7610",
                    "reference_id": "CVE-2020-7610",
                    "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": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7610"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-v8w9-2789-6hhr",
                    "reference_id": "GHSA-v8w9-2789-6hhr",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-v8w9-2789-6hhr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/118863?format=api",
                    "purl": "pkg:deb/debian/node-mongodb@3.5.6%2B~cs11.12.19-1?distro=bullseye",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-mongodb@3.5.6%252B~cs11.12.19-1%3Fdistro=bullseye"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/118862?format=api",
                    "purl": "pkg:deb/debian/node-mongodb@3.6.4%2B~cs11.13.19-1?distro=bullseye",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-mongodb@3.6.4%252B~cs11.13.19-1%3Fdistro=bullseye"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/118860?format=api",
                    "purl": "pkg:deb/debian/node-mongodb@3.6.4%2B~cs11.13.19-2?distro=bullseye",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-mongodb@3.6.4%252B~cs11.13.19-2%3Fdistro=bullseye"
                }
            ],
            "aliases": [
                "CVE-2020-7610",
                "GHSA-v8w9-2789-6hhr"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-yuyr-c6ed-ffem"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-mongodb@3.5.6%252B~cs11.12.19-1%3Fdistro=bullseye"
}