Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/926967?format=api",
    "purl": "pkg:deb/debian/libcgi-pm-perl@3.61-2?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "libcgi-pm-perl",
    "version": "3.61-2",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.51-1",
    "latest_non_vulnerable_version": "4.71-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/86926?format=api",
            "vulnerability_id": "VCID-n9qr-vq9n-qfge",
            "summary": "perl-CGI: Newline injection due to improper CRLF escaping in Set-Cookie and P3P headers",
            "references": [
                {
                    "reference_url": "http://cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/Changes",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/Changes"
                },
                {
                    "reference_url": "http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705"
                },
                {
                    "reference_url": "http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10735",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10735"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0685.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-0685.html"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-5526.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-5526.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-5526",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0172",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82435",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.0172",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82324",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.0172",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82339",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0172",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82356",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0172",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82351",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0172",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82379",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.0172",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82386",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.0172",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82405",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.0172",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82401",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.0172",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82396",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.0172",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8243",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.0172",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82431",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-5526"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5526",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5526"
                },
                {
                    "reference_url": "http://secunia.com/advisories/51457",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/51457"
                },
                {
                    "reference_url": "http://secunia.com/advisories/55314",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://secunia.com/advisories/55314"
                },
                {
                    "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/80098",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/80098"
                },
                {
                    "reference_url": "https://github.com/markstos/CGI.pm/pull/23",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/markstos/CGI.pm/pull/23"
                },
                {
                    "reference_url": "http://www.debian.org/security/2012/dsa-2586",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.debian.org/security/2012/dsa-2586"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2012/11/15/6",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2012/11/15/6"
                },
                {
                    "reference_url": "http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/56562",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/56562"
                },
                {
                    "reference_url": "http://www.securitytracker.com/id?1027780",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securitytracker.com/id?1027780"
                },
                {
                    "reference_url": "http://www.ubuntu.com/usn/USN-1643-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.ubuntu.com/usn/USN-1643-1"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693420",
                    "reference_id": "693420",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693420"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693421",
                    "reference_id": "693421",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693421"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=877015",
                    "reference_id": "877015",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=877015"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:andy_armstrong:cgi.pm:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:andy_armstrong:cgi.pm:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:andy_armstrong:cgi.pm:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-5526",
                    "reference_id": "CVE-2012-5526",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.0",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:N/C:N/I:P/A:N"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-5526"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2013:0685",
                    "reference_id": "RHSA-2013:0685",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2013:0685"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/1643-1/",
                    "reference_id": "USN-1643-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/1643-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/926967?format=api",
                    "purl": "pkg:deb/debian/libcgi-pm-perl@3.61-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcgi-pm-perl@3.61-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/926963?format=api",
                    "purl": "pkg:deb/debian/libcgi-pm-perl@4.51-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcgi-pm-perl@4.51-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/926961?format=api",
                    "purl": "pkg:deb/debian/libcgi-pm-perl@4.55-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcgi-pm-perl@4.55-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/926965?format=api",
                    "purl": "pkg:deb/debian/libcgi-pm-perl@4.68-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcgi-pm-perl@4.68-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/926964?format=api",
                    "purl": "pkg:deb/debian/libcgi-pm-perl@4.71-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcgi-pm-perl@4.71-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2012-5526"
            ],
            "risk_score": 2.2,
            "exploitability": "0.5",
            "weighted_severity": "4.5",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-n9qr-vq9n-qfge"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libcgi-pm-perl@3.61-2%3Fdistro=trixie"
}