Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/86847?format=api",
    "vulnerability_id": "VCID-tkur-hbfk-2ubx",
    "summary": "coreutils: segfault in \"sort -d\" and \"sort -M\" with long line input",
    "aliases": [
        {
            "alias": "CVE-2013-0221"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582681?format=api",
            "purl": "pkg:deb/debian/coreutils@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/coreutils@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582682?format=api",
            "purl": "pkg:deb/debian/coreutils@8.32-4?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2kaz-dkwk-m3ea"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/coreutils@8.32-4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582683?format=api",
            "purl": "pkg:deb/debian/coreutils@9.1-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2kaz-dkwk-m3ea"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/coreutils@9.1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582685?format=api",
            "purl": "pkg:deb/debian/coreutils@9.7-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/coreutils@9.7-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582686?format=api",
            "purl": "pkg:deb/debian/coreutils@9.10-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/coreutils@9.10-1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/125130?format=api",
            "purl": "pkg:rpm/redhat/coreutils@8.4-31?arch=el6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1qcm-qjr7-ubfq"
                },
                {
                    "vulnerability": "VCID-bwmh-zthe-w3af"
                },
                {
                    "vulnerability": "VCID-tkur-hbfk-2ubx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/coreutils@8.4-31%3Farch=el6"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2013-0221.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2013-0221.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2013-0221",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90649",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90653",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90664",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90673",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90684",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9069",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90698",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90699",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90695",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90714",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90712",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90709",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90724",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90726",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90721",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90737",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90756",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.06006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90768",
                    "published_at": "2026-05-09T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2013-0221"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=903464",
            "reference_id": "903464",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=903464"
        },
        {
            "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/38232.txt",
            "reference_id": "CVE-2013-0221;OSVDB-91236",
            "reference_type": "exploit",
            "scores": [],
            "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/38232.txt"
        },
        {
            "reference_url": "https://www.securityfocus.com/bid/57492/info",
            "reference_id": "CVE-2013-0221;OSVDB-91236",
            "reference_type": "exploit",
            "scores": [],
            "url": "https://www.securityfocus.com/bid/57492/info"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2013:1652",
            "reference_id": "RHSA-2013:1652",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2013:1652"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 391,
            "name": "Unchecked Error Condition",
            "description": "[PLANNED FOR DEPRECATION. SEE MAINTENANCE NOTES AND CONSIDER CWE-252, CWE-248, OR CWE-1069.] Ignoring exceptions and other error conditions may allow an attacker to induce unexpected behavior unnoticed."
        },
        {
            "cwe_id": 665,
            "name": "Improper Initialization",
            "description": "The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used."
        }
    ],
    "exploits": [
        {
            "date_added": "2013-01-21",
            "description": "GNU Coreutils 'sort' Text Utility - Local Buffer Overflow",
            "required_action": null,
            "due_date": null,
            "notes": null,
            "known_ransomware_campaign_use": true,
            "source_date_published": "2013-01-21",
            "exploit_type": "local",
            "platform": "linux",
            "source_date_updated": "2015-09-18",
            "data_source": "Exploit-DB",
            "source_url": "https://www.securityfocus.com/bid/57492/info"
        }
    ],
    "severity_range_score": null,
    "exploitability": "2.0",
    "weighted_severity": "0.1",
    "risk_score": 0.2,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tkur-hbfk-2ubx"
}