Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/85718?format=api",
    "vulnerability_id": "VCID-y8h8-fsne-47fx",
    "summary": "coreutils: \"time of check to time of use\" race condition fts.c",
    "aliases": [
        {
            "alias": "CVE-2015-1865"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/586897?format=api",
            "purl": "pkg:deb/debian/coreutils@8.13-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/coreutils@8.13-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1052855?format=api",
            "purl": "pkg:deb/debian/coreutils@8.13-3.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1zn8-53w7-rubb"
                },
                {
                    "vulnerability": "VCID-a5ny-vcsw-uqh1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/coreutils@8.13-3.5"
        },
        {
            "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/1052502?format=api",
            "purl": "pkg:deb/debian/coreutils@5.2.1-2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1zn8-53w7-rubb"
                },
                {
                    "vulnerability": "VCID-6b44-y174-f7e5"
                },
                {
                    "vulnerability": "VCID-74by-h3vb-uqfe"
                },
                {
                    "vulnerability": "VCID-a5ny-vcsw-uqh1"
                },
                {
                    "vulnerability": "VCID-y8h8-fsne-47fx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/coreutils@5.2.1-2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1052503?format=api",
            "purl": "pkg:deb/debian/coreutils@5.97-5.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1zn8-53w7-rubb"
                },
                {
                    "vulnerability": "VCID-74by-h3vb-uqfe"
                },
                {
                    "vulnerability": "VCID-a5ny-vcsw-uqh1"
                },
                {
                    "vulnerability": "VCID-y8h8-fsne-47fx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/coreutils@5.97-5.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1052853?format=api",
            "purl": "pkg:deb/debian/coreutils@6.10-6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1zn8-53w7-rubb"
                },
                {
                    "vulnerability": "VCID-a5ny-vcsw-uqh1"
                },
                {
                    "vulnerability": "VCID-y8h8-fsne-47fx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/coreutils@6.10-6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1052854?format=api",
            "purl": "pkg:deb/debian/coreutils@8.5-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1zn8-53w7-rubb"
                },
                {
                    "vulnerability": "VCID-a5ny-vcsw-uqh1"
                },
                {
                    "vulnerability": "VCID-y8h8-fsne-47fx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/coreutils@8.5-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-1865.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-1865.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2015-1865",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22715",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22594",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22493",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22575",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22655",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22623",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22639",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22735",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22908",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22952",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22745",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22821",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22874",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22894",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22857",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22801",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22814",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22808",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22768",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22607",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00076",
                    "scoring_system": "epss",
                    "scoring_elements": "0.22599",
                    "published_at": "2026-04-26T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2015-1865"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1865",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1865"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/76073",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-08-06T21:03:11Z/"
                }
            ],
            "url": "http://www.securityfocus.com/bid/76073"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1211300",
            "reference_id": "1211300",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-08-06T21:03:11Z/"
                }
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1211300"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:gnu:coreutils:8.4:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:gnu:coreutils:8.4:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:gnu:coreutils:8.4:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-1865",
            "reference_id": "CVE-2015-1865",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.3",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:L/AC:M/Au:N/C:N/I:P/A:P"
                },
                {
                    "value": "4.7",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-1865"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 367,
            "name": "Time-of-check Time-of-use (TOCTOU) Race Condition",
            "description": "The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state."
        },
        {
            "cwe_id": 362,
            "name": "Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')",
            "description": "The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently."
        }
    ],
    "exploits": [],
    "severity_range_score": "3.3 - 5.1",
    "exploitability": "0.5",
    "weighted_severity": "4.6",
    "risk_score": 2.3,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-y8h8-fsne-47fx"
}