Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/930744?format=api",
    "purl": "pkg:deb/debian/mercurial@1.6.4-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "mercurial",
    "version": "1.6.4-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.1.2-2",
    "latest_non_vulnerable_version": "7.2-5",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/13838?format=api",
            "vulnerability_id": "VCID-673d-uck5-tbb7",
            "summary": "Mercurial Improper Certificate Validation vulnerability\nMercurial before 1.6.4 fails to verify the Common Name field of SSL certificates which allows remote attackers who acquire a certificate signed by a Certificate Authority to perform a man-in-the-middle attack.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2010-4237.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2010-4237.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2010-4237",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.54004",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.54035",
                            "published_at": "2026-05-14T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53895",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53923",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53898",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.5395",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53949",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53996",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53978",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53961",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53999",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53985",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53965",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53939",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.5398",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53925",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53882",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53934",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53964",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53877",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00307",
                            "scoring_system": "epss",
                            "scoring_elements": "0.53952",
                            "published_at": "2026-04-24T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2010-4237"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598841",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598841"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2010-4237",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2010-4237"
                },
                {
                    "reference_url": "https://bz.mercurial-scm.org/show_bug.cgi?id=2407",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://bz.mercurial-scm.org/show_bug.cgi?id=2407"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4237",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4237"
                },
                {
                    "reference_url": "https://github.com/dscho/hg/commit/4ea63fb25ceeeaaa4cd1026f733b7ea7672c30b3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/dscho/hg/commit/4ea63fb25ceeeaaa4cd1026f733b7ea7672c30b3"
                },
                {
                    "reference_url": "https://github.com/dscho/hg/commit/89baabf4fb7abf30ef6fdcf3d455a7893e5cc145",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/dscho/hg/commit/89baabf4fb7abf30ef6fdcf3d455a7893e5cc145"
                },
                {
                    "reference_url": "https://repo.mercurial-scm.org/hg/rev/6ab4a7d3c179",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://repo.mercurial-scm.org/hg/rev/6ab4a7d3c179"
                },
                {
                    "reference_url": "https://repo.mercurial-scm.org/hg/rev/f2937d6492c5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://repo.mercurial-scm.org/hg/rev/f2937d6492c5"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=641373",
                    "reference_id": "641373",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=641373"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2010-4237",
                    "reference_id": "CVE-2010-4237",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.3",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:N/I:P/A:N"
                        },
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2010-4237"
                },
                {
                    "reference_url": "https://security-tracker.debian.org/tracker/CVE-2010-4237",
                    "reference_id": "CVE-2010-4237",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security-tracker.debian.org/tracker/CVE-2010-4237"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-7gf7-7wx4-mxmw",
                    "reference_id": "GHSA-7gf7-7wx4-mxmw",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-7gf7-7wx4-mxmw"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930744?format=api",
                    "purl": "pkg:deb/debian/mercurial@1.6.4-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@1.6.4-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930739?format=api",
                    "purl": "pkg:deb/debian/mercurial@5.6.1-4?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@5.6.1-4%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930737?format=api",
                    "purl": "pkg:deb/debian/mercurial@6.3.2-1%2Bdeb12u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@6.3.2-1%252Bdeb12u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930742?format=api",
                    "purl": "pkg:deb/debian/mercurial@7.0.1-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@7.0.1-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930740?format=api",
                    "purl": "pkg:deb/debian/mercurial@7.1.1-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@7.1.1-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930741?format=api",
                    "purl": "pkg:deb/debian/mercurial@7.2-5?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@7.2-5%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2010-4237",
                "GHSA-7gf7-7wx4-mxmw"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-673d-uck5-tbb7"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@1.6.4-1%3Fdistro=trixie"
}