Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/8810?format=api",
    "vulnerability_id": "VCID-1d95-8411-53f4",
    "summary": "Incorrect Permission Assignment for Critical Resource\nThis vulnerability might allow local users to bypass intended filesystem access restrictions because ownerships of `/etc` and `/usr` directories are being changed unexpectedly, related to a `correctMkdir` issue.",
    "aliases": [
        {
            "alias": "CVE-2018-7408"
        },
        {
            "alias": "GHSA-ph34-pc88-72gc"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/372786?format=api",
            "purl": "pkg:alpm/archlinux/npm@5.7.1-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/npm@5.7.1-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932928?format=api",
            "purl": "pkg:deb/debian/npm@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/npm@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932924?format=api",
            "purl": "pkg:deb/debian/npm@7.5.2%2Bds-2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-368z-yjtu-m3hc"
                },
                {
                    "vulnerability": "VCID-9vk1-2ysq-3ygd"
                },
                {
                    "vulnerability": "VCID-myru-vzn7-u7cf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/npm@7.5.2%252Bds-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932922?format=api",
            "purl": "pkg:deb/debian/npm@9.2.0~ds1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/npm@9.2.0~ds1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932926?format=api",
            "purl": "pkg:deb/debian/npm@9.2.0~ds1-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/npm@9.2.0~ds1-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932925?format=api",
            "purl": "pkg:deb/debian/npm@9.2.0~ds3-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/npm@9.2.0~ds3-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1041986?format=api",
            "purl": "pkg:deb/debian/npm@11.12.1~ds1-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/npm@11.12.1~ds1-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1059644?format=api",
            "purl": "pkg:deb/debian/npm@11.12.1~ds1-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/npm@11.12.1~ds1-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1062511?format=api",
            "purl": "pkg:deb/debian/npm@11.12.1~ds1-4?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/npm@11.12.1~ds1-4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1103018?format=api",
            "purl": "pkg:deb/debian/npm@11.13.0~ds1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/npm@11.13.0~ds1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/26548?format=api",
            "purl": "pkg:npm/npm@5.7.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-e2wc-na6c-c3cr"
                },
                {
                    "vulnerability": "VCID-k3gg-stck-7ydy"
                },
                {
                    "vulnerability": "VCID-qyqn-hwvx-k7gs"
                },
                {
                    "vulnerability": "VCID-wb61-6cxb-5kfa"
                },
                {
                    "vulnerability": "VCID-xja2-hbkk-cyc7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/npm@5.7.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/372785?format=api",
            "purl": "pkg:alpm/archlinux/npm@5.7.0-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1d95-8411-53f4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/npm@5.7.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/26547?format=api",
            "purl": "pkg:npm/npm@5.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1d95-8411-53f4"
                },
                {
                    "vulnerability": "VCID-e2wc-na6c-c3cr"
                },
                {
                    "vulnerability": "VCID-k3gg-stck-7ydy"
                },
                {
                    "vulnerability": "VCID-qyqn-hwvx-k7gs"
                },
                {
                    "vulnerability": "VCID-wb61-6cxb-5kfa"
                },
                {
                    "vulnerability": "VCID-xja2-hbkk-cyc7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/npm@5.7.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://blog.npmjs.org/post/171169301000/v571",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://blog.npmjs.org/post/171169301000/v571"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7408",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12747",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12704",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12667",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12551",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12459",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12594",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12656",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12657",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12683",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12694",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12801",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12849",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12653",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12732",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12783",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12752",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12714",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12666",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12572",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12583",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00042",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12692",
                    "published_at": "2026-04-21T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7408"
        },
        {
            "reference_url": "https://github.com/npm/npm/commit/74e149da6efe6ed89477faa81fef08eee7999ad0",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/npm/npm/commit/74e149da6efe6ed89477faa81fef08eee7999ad0"
        },
        {
            "reference_url": "https://github.com/npm/npm/issues/19883",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/npm/npm/issues/19883"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-626",
            "reference_id": "AVG-626",
            "reference_type": "",
            "scores": [
                {
                    "value": "High",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-626"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7408",
            "reference_id": "CVE-2018-7408",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7408"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-ph34-pc88-72gc",
            "reference_id": "GHSA-ph34-pc88-72gc",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-ph34-pc88-72gc"
        }
    ],
    "weaknesses": [
        {
            "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": 732,
            "name": "Incorrect Permission Assignment for Critical Resource",
            "description": "The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1d95-8411-53f4"
}