Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/213835?format=api",
    "purl": "pkg:deb/debian/heirloom-mailx@12.5-2%2Bdeb7u1",
    "type": "deb",
    "namespace": "debian",
    "name": "heirloom-mailx",
    "version": "12.5-2+deb7u1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/61466?format=api",
            "vulnerability_id": "VCID-79e4-9c2h-83f6",
            "summary": "BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via a crafted email address.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2014-7844.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2014-7844.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2014-7844",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0055",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68332",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.0055",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68374",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.0055",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68381",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.0055",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68359",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.0055",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68375",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2014-7844"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-2771",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-2771"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-7844",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-7844"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1162783",
                    "reference_id": "1162783",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1162783"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201804-06",
                    "reference_id": "GLSA-201804-06",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201804-06"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2014:1999",
                    "reference_id": "RHSA-2014:1999",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2014:1999"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/2455-1/",
                    "reference_id": "USN-2455-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/2455-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/213835?format=api",
                    "purl": "pkg:deb/debian/heirloom-mailx@12.5-2%2Bdeb7u1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/heirloom-mailx@12.5-2%252Bdeb7u1"
                }
            ],
            "aliases": [
                "CVE-2014-7844"
            ],
            "risk_score": 1.9,
            "exploitability": "0.5",
            "weighted_severity": "3.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-79e4-9c2h-83f6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/61464?format=api",
            "vulnerability_id": "VCID-w2f7-8gyy-77dj",
            "summary": "The expand function in fio.c in Heirloom mailx 12.5 and earlier and BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in an email address.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2004-2771.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2004-2771.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2004-2771",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02879",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86555",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.02879",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86578",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.02879",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86573",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.02879",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86563",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.02879",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86575",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2004-2771"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-2771",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-2771"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-7844",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-7844"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1162783",
                    "reference_id": "1162783",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1162783"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201804-06",
                    "reference_id": "GLSA-201804-06",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201804-06"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2014:1999",
                    "reference_id": "RHSA-2014:1999",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2014:1999"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/213835?format=api",
                    "purl": "pkg:deb/debian/heirloom-mailx@12.5-2%2Bdeb7u1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/heirloom-mailx@12.5-2%252Bdeb7u1"
                }
            ],
            "aliases": [
                "CVE-2004-2771"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-w2f7-8gyy-77dj"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/heirloom-mailx@12.5-2%252Bdeb7u1"
}