Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/586251?format=api",
    "purl": "pkg:deb/debian/freeciv@2.2.1-1",
    "type": "deb",
    "namespace": "debian",
    "name": "freeciv",
    "version": "2.2.1-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.4.3-1~bpo70+1",
    "latest_non_vulnerable_version": "3.0.6-1+deb12u1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/68736?format=api",
            "vulnerability_id": "VCID-ecne-vtc2-wbhr",
            "summary": "Freeciv before 2.3.3 allows remote attackers to cause a denial of service via a crafted packet.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-6083",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04255",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88998",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.04255",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89015",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.04255",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89016",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.04255",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89031",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-6083"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-6083",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-6083"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696306",
                    "reference_id": "696306",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696306"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/34249.txt",
                    "reference_id": "CVE-2012-6083;OSVDB-65999",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/34249.txt"
                },
                {
                    "reference_url": "https://www.securityfocus.com/bid/41352/info",
                    "reference_id": "CVE-2012-6083;OSVDB-65999",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://www.securityfocus.com/bid/41352/info"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/635445?format=api",
                    "purl": "pkg:deb/debian/freeciv@2.4.3-1~bpo70%2B1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/freeciv@2.4.3-1~bpo70%252B1"
                }
            ],
            "aliases": [
                "CVE-2012-6083"
            ],
            "risk_score": null,
            "exploitability": "2.0",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ecne-vtc2-wbhr"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/68734?format=api",
            "vulnerability_id": "VCID-mfcv-fggf-cbbw",
            "summary": "A denial of service flaw was found in the way the server component of Freeciv before 2.3.4 processed certain packets. A remote attacker could send a specially-crafted packet that, when processed would lead to memory exhaustion or excessive CPU consumption.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-5645",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.06123",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90949",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.06123",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90963",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.06123",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90961",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.06123",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90958",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.06123",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90956",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.06123",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90973",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-5645"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5645",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5645"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696306",
                    "reference_id": "696306",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696306"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/635445?format=api",
                    "purl": "pkg:deb/debian/freeciv@2.4.3-1~bpo70%2B1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/freeciv@2.4.3-1~bpo70%252B1"
                }
            ],
            "aliases": [
                "CVE-2012-5645"
            ],
            "risk_score": 0.1,
            "exploitability": "0.5",
            "weighted_severity": "0.1",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mfcv-fggf-cbbw"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/68731?format=api",
            "vulnerability_id": "VCID-j3xv-nqx9-v3gz",
            "summary": "freeciv 2.2 before 2.2.1 and 2.3 before 2.3.0 allows attackers to read arbitrary files or execute arbitrary commands via a scenario that contains Lua functionality, related to the (1) os, (2) io, (3) package, (4) dofile, (5) loadfile, (6) loadlib, (7) module, and (8) require modules or functions.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2010-2445",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01199",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79228",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.01199",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79254",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.01199",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7926",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.01199",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79253",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.01199",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79241",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2010-2445"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-2445",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-2445"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584589",
                    "reference_id": "584589",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584589"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201402-07",
                    "reference_id": "GLSA-201402-07",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201402-07"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/586251?format=api",
                    "purl": "pkg:deb/debian/freeciv@2.2.1-1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-ecne-vtc2-wbhr"
                        },
                        {
                            "vulnerability": "VCID-mfcv-fggf-cbbw"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/freeciv@2.2.1-1"
                }
            ],
            "aliases": [
                "CVE-2010-2445"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-j3xv-nqx9-v3gz"
        }
    ],
    "risk_score": "0.1",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/freeciv@2.2.1-1"
}