Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52957?format=api",
    "vulnerability_id": "VCID-vv32-p75k-qfc6",
    "summary": "Denial of service in Grafana\nThe snapshot feature in Grafana before 7.4.2 can allow an unauthenticated remote attackers to trigger a Denial of Service via a remote API call if a commonly used configuration is set.\n### Specific Go Packages Affected\ngithub.com/grafana/grafana/pkg/middleware",
    "aliases": [
        {
            "alias": "CVE-2021-27358"
        },
        {
            "alias": "GHSA-h5rh-w6vm-9ghc"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/100293?format=api",
            "purl": "pkg:rpm/redhat/grafana@7.5.9-4?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-35du-rm88-k7bw"
                },
                {
                    "vulnerability": "VCID-7ahs-f1qh-g7an"
                },
                {
                    "vulnerability": "VCID-ayxa-s9j4-k7hd"
                },
                {
                    "vulnerability": "VCID-vv32-p75k-qfc6"
                },
                {
                    "vulnerability": "VCID-z1ct-cecz-mqer"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/grafana@7.5.9-4%3Farch=el8"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-27358.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-27358.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-27358",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.87049",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99447",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.87429",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99451",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.87429",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99452",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.87429",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99454",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.87429",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99455",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.87429",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99456",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.87429",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99457",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.87429",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99458",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.87429",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99461",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.87429",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99462",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.87429",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99463",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.87429",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99464",
                    "published_at": "2026-04-29T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-27358"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/grafana/grafana/blob/master/CHANGELOG.md",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H/E:U/RL:O/RC:R"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/grafana/grafana/blob/master/CHANGELOG.md"
        },
        {
            "reference_url": "https://github.com/grafana/grafana/blob/master/CHANGELOG.md#742-2021-02-17",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H/E:U/RL:O/RC:R"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/grafana/grafana/blob/master/CHANGELOG.md#742-2021-02-17"
        },
        {
            "reference_url": "https://github.com/grafana/grafana/pull/31263",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H/E:U/RL:O/RC:R"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/grafana/grafana/pull/31263"
        },
        {
            "reference_url": "https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-4-2",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H/E:U/RL:O/RC:R"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-4-2"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27358",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H/E:U/RL:O/RC:R"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-27358"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20210513-0007",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H/E:U/RL:O/RC:R"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.netapp.com/advisory/ntap-20210513-0007"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1941024",
            "reference_id": "1941024",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1941024"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:4226",
            "reference_id": "RHSA-2021:4226",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:4226"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 306,
            "name": "Missing Authentication for Critical Function",
            "description": "The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources."
        },
        {
            "cwe_id": 400,
            "name": "Uncontrolled Resource Consumption",
            "description": "The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources."
        },
        {
            "cwe_id": 770,
            "name": "Allocation of Resources Without Limits or Throttling",
            "description": "The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 8.2",
    "exploitability": "2.0",
    "weighted_severity": "7.4",
    "risk_score": 10.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vv32-p75k-qfc6"
}