Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/55846?format=api",
    "vulnerability_id": "VCID-ccy3-s9ra-uub9",
    "summary": "Vite's `server.fs.deny` is bypassed when using `?import&raw`\nThe contents of arbitrary files can be returned to the browser.",
    "aliases": [
        {
            "alias": "CVE-2024-45811"
        },
        {
            "alias": "GHSA-9cwx-2883-4wfx"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82678?format=api",
            "purl": "pkg:npm/vite@3.2.11",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@3.2.11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82677?format=api",
            "purl": "pkg:npm/vite@4.5.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@4.5.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82679?format=api",
            "purl": "pkg:npm/vite@5.1.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@5.1.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82676?format=api",
            "purl": "pkg:npm/vite@5.2.14",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@5.2.14"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82675?format=api",
            "purl": "pkg:npm/vite@5.3.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@5.3.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82674?format=api",
            "purl": "pkg:npm/vite@5.4.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@5.4.6"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65303?format=api",
            "purl": "pkg:npm/vite@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6cep-dhsy-qkhg"
                },
                {
                    "vulnerability": "VCID-ccy3-s9ra-uub9"
                },
                {
                    "vulnerability": "VCID-mbnq-b7vj-jyhb"
                },
                {
                    "vulnerability": "VCID-n143-1uka-s3eg"
                },
                {
                    "vulnerability": "VCID-vyjc-1f5b-p7cs"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68016?format=api",
            "purl": "pkg:npm/vite@5.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3s4w-2k7z-xkaa"
                },
                {
                    "vulnerability": "VCID-6cep-dhsy-qkhg"
                },
                {
                    "vulnerability": "VCID-ccy3-s9ra-uub9"
                },
                {
                    "vulnerability": "VCID-cwjw-gp95-5uad"
                },
                {
                    "vulnerability": "VCID-gdv1-n78f-tud7"
                },
                {
                    "vulnerability": "VCID-jxyb-k93s-g3e8"
                },
                {
                    "vulnerability": "VCID-mbnq-b7vj-jyhb"
                },
                {
                    "vulnerability": "VCID-na8b-yqpp-p7fj"
                },
                {
                    "vulnerability": "VCID-q59b-2z2s-mfbt"
                },
                {
                    "vulnerability": "VCID-t716-h35b-9kf2"
                },
                {
                    "vulnerability": "VCID-vyjc-1f5b-p7cs"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@5.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69623?format=api",
            "purl": "pkg:npm/vite@5.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6cep-dhsy-qkhg"
                },
                {
                    "vulnerability": "VCID-ccy3-s9ra-uub9"
                },
                {
                    "vulnerability": "VCID-vyjc-1f5b-p7cs"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@5.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82672?format=api",
            "purl": "pkg:npm/vite@5.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6cep-dhsy-qkhg"
                },
                {
                    "vulnerability": "VCID-ccy3-s9ra-uub9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@5.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82673?format=api",
            "purl": "pkg:npm/vite@5.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6cep-dhsy-qkhg"
                },
                {
                    "vulnerability": "VCID-ccy3-s9ra-uub9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@5.4.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-45811.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-45811.json"
        },
        {
            "reference_url": "https://github.com/vitejs/vite",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/vitejs/vite"
        },
        {
            "reference_url": "https://github.com/vitejs/vite/commit/4573a6fd6f1b097fb7296a3e135e0646b996b249",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/vitejs/vite/commit/4573a6fd6f1b097fb7296a3e135e0646b996b249"
        },
        {
            "reference_url": "https://github.com/vitejs/vite/commit/6820bb3b9a54334f3268fc5ee1e967d2e1c0db34",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/vitejs/vite/commit/6820bb3b9a54334f3268fc5ee1e967d2e1c0db34"
        },
        {
            "reference_url": "https://github.com/vitejs/vite/commit/8339d7408668686bae56eaccbfdc7b87612904bd",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/vitejs/vite/commit/8339d7408668686bae56eaccbfdc7b87612904bd"
        },
        {
            "reference_url": "https://github.com/vitejs/vite/commit/a6da45082b6e73ddfdcdcc06bb5414f976a388d6",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/vitejs/vite/commit/a6da45082b6e73ddfdcdcc06bb5414f976a388d6"
        },
        {
            "reference_url": "https://github.com/vitejs/vite/commit/b901438f99e667f76662840826eec91c8ab3b3e7",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/vitejs/vite/commit/b901438f99e667f76662840826eec91c8ab3b3e7"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2312930",
            "reference_id": "2312930",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2312930"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-45811",
            "reference_id": "CVE-2024-45811",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-45811"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-9cwx-2883-4wfx",
            "reference_id": "GHSA-9cwx-2883-4wfx",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-9cwx-2883-4wfx"
        },
        {
            "reference_url": "https://github.com/vitejs/vite/security/advisories/GHSA-9cwx-2883-4wfx",
            "reference_id": "GHSA-9cwx-2883-4wfx",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/vitejs/vite/security/advisories/GHSA-9cwx-2883-4wfx"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2024:10917",
            "reference_id": "RHSA-2024:10917",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2024:10917"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2024:10962",
            "reference_id": "RHSA-2024:10962",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2024:10962"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 200,
            "name": "Exposure of Sensitive Information to an Unauthorized Actor",
            "description": "The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information."
        },
        {
            "cwe_id": 284,
            "name": "Improper Access Control",
            "description": "The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor."
        },
        {
            "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": 41,
            "name": "Improper Resolution of Path Equivalence",
            "description": "The product is vulnerable to file system contents disclosure through path equivalence. Path equivalence involves the use of special characters in file and directory names. The associated manipulations are intended to generate multiple names for the same object."
        }
    ],
    "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-ccy3-s9ra-uub9"
}