Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/22177?format=api",
    "vulnerability_id": "VCID-3ctc-sy35-yba5",
    "summary": "node-tar has a race condition leading to uninitialized memory exposure\nUsing `.t` (aka `.list`) with `{ sync: true }` to read tar entry contents returns uninitialized memory contents if tar file was changed on disk to a smaller size while being read.",
    "aliases": [
        {
            "alias": "CVE-2025-64118"
        },
        {
            "alias": "GHSA-29xp-372q-xqph"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932655?format=api",
            "purl": "pkg:deb/debian/node-tar@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932648?format=api",
            "purl": "pkg:deb/debian/node-tar@6.0.5%2Bds1%2B~cs11.3.9-1%2Bdeb11u2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5wr3-7131-u3aa"
                },
                {
                    "vulnerability": "VCID-bj4b-gq5e-2kfy"
                },
                {
                    "vulnerability": "VCID-fqmy-jhdk-xfhw"
                },
                {
                    "vulnerability": "VCID-jj22-rfbv-bkg3"
                },
                {
                    "vulnerability": "VCID-qunt-xms1-a3cc"
                },
                {
                    "vulnerability": "VCID-xqpk-t1d2-yqak"
                },
                {
                    "vulnerability": "VCID-yy79-dbn9-7bd5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.0.5%252Bds1%252B~cs11.3.9-1%252Bdeb11u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932646?format=api",
            "purl": "pkg:deb/debian/node-tar@6.1.13%2B~cs7.0.5-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5wr3-7131-u3aa"
                },
                {
                    "vulnerability": "VCID-bj4b-gq5e-2kfy"
                },
                {
                    "vulnerability": "VCID-fqmy-jhdk-xfhw"
                },
                {
                    "vulnerability": "VCID-jj22-rfbv-bkg3"
                },
                {
                    "vulnerability": "VCID-yy79-dbn9-7bd5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.1.13%252B~cs7.0.5-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932650?format=api",
            "purl": "pkg:deb/debian/node-tar@6.2.1%2B~cs7.0.8-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5wr3-7131-u3aa"
                },
                {
                    "vulnerability": "VCID-bj4b-gq5e-2kfy"
                },
                {
                    "vulnerability": "VCID-jj22-rfbv-bkg3"
                },
                {
                    "vulnerability": "VCID-yy79-dbn9-7bd5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.2.1%252B~cs7.0.8-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932649?format=api",
            "purl": "pkg:deb/debian/node-tar@6.2.1%2Bds1%2B~cs6.1.13-10?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-tar@6.2.1%252Bds1%252B~cs6.1.13-10%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64761?format=api",
            "purl": "pkg:npm/tar@7.5.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5wr3-7131-u3aa"
                },
                {
                    "vulnerability": "VCID-bj4b-gq5e-2kfy"
                },
                {
                    "vulnerability": "VCID-jj22-rfbv-bkg3"
                },
                {
                    "vulnerability": "VCID-qunt-xms1-a3cc"
                },
                {
                    "vulnerability": "VCID-xqpk-t1d2-yqak"
                },
                {
                    "vulnerability": "VCID-yy79-dbn9-7bd5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/tar@7.5.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64759?format=api",
            "purl": "pkg:npm/tar@7.5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3ctc-sy35-yba5"
                },
                {
                    "vulnerability": "VCID-5wr3-7131-u3aa"
                },
                {
                    "vulnerability": "VCID-bj4b-gq5e-2kfy"
                },
                {
                    "vulnerability": "VCID-jj22-rfbv-bkg3"
                },
                {
                    "vulnerability": "VCID-qunt-xms1-a3cc"
                },
                {
                    "vulnerability": "VCID-xqpk-t1d2-yqak"
                },
                {
                    "vulnerability": "VCID-yy79-dbn9-7bd5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/tar@7.5.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-64118.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.7",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-64118.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-64118",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3e-05",
                    "scoring_system": "epss",
                    "scoring_elements": "0.00134",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "4e-05",
                    "scoring_system": "epss",
                    "scoring_elements": "0.00195",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "4e-05",
                    "scoring_system": "epss",
                    "scoring_elements": "0.00197",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "4e-05",
                    "scoring_system": "epss",
                    "scoring_elements": "0.00196",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "4e-05",
                    "scoring_system": "epss",
                    "scoring_elements": "0.00198",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "4e-05",
                    "scoring_system": "epss",
                    "scoring_elements": "0.00192",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "4e-05",
                    "scoring_system": "epss",
                    "scoring_elements": "0.0019",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "4e-05",
                    "scoring_system": "epss",
                    "scoring_elements": "0.00194",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "4e-05",
                    "scoring_system": "epss",
                    "scoring_elements": "0.00193",
                    "published_at": "2026-05-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-64118"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/isaacs/node-tar",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:H/SA:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/isaacs/node-tar"
        },
        {
            "reference_url": "https://github.com/isaacs/node-tar/commit/5330eb04bc43014f216e5c271b40d5c00d45224d",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:H/SA:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-10-30T18:41:54Z/"
                }
            ],
            "url": "https://github.com/isaacs/node-tar/commit/5330eb04bc43014f216e5c271b40d5c00d45224d"
        },
        {
            "reference_url": "https://github.com/isaacs/node-tar/commit/5e1a8e638600d3c3a2969b4de6a6ec44fa8d74c9",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:H/SA:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/isaacs/node-tar/commit/5e1a8e638600d3c3a2969b4de6a6ec44fa8d74c9"
        },
        {
            "reference_url": "https://github.com/isaacs/node-tar/issues/445",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:H/SA:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-10-30T18:41:54Z/"
                }
            ],
            "url": "https://github.com/isaacs/node-tar/issues/445"
        },
        {
            "reference_url": "https://github.com/isaacs/node-tar/pull/446",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:H/SA:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-10-30T18:41:54Z/"
                }
            ],
            "url": "https://github.com/isaacs/node-tar/pull/446"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2407440",
            "reference_id": "2407440",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2407440"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-64118",
            "reference_id": "CVE-2025-64118",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:H/SA:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-64118"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-29xp-372q-xqph",
            "reference_id": "GHSA-29xp-372q-xqph",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-29xp-372q-xqph"
        },
        {
            "reference_url": "https://github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqph",
            "reference_id": "GHSA-29xp-372q-xqph",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "6.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:H/SA:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-10-30T18:41:54Z/"
                }
            ],
            "url": "https://github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqph"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3ctc-sy35-yba5"
}