Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30901?format=api",
    "vulnerability_id": "VCID-4rvd-1dka-vufc",
    "summary": "Consul JWT Auth in L7 Intentions Allow for Mismatched Service Identity and JWT Providers\nA vulnerability was identified in Consul such that using JWT authentication for service mesh incorrectly allows/denies access regardless of service identities. This vulnerability, CVE-2023-3518, affects Consul 1.16.0 and was fixed in 1.16.1.",
    "aliases": [
        {
            "alias": "CVE-2023-3518"
        },
        {
            "alias": "GHSA-9rhf-q362-77mx"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/584531?format=api",
            "purl": "pkg:deb/debian/consul@0?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/consul@0%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/583644?format=api",
            "purl": "pkg:deb/debian/consul@1.8.7%2Bdfsg1-2?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/consul@1.8.7%252Bdfsg1-2%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/71740?format=api",
            "purl": "pkg:golang/github.com/hashicorp/consul@1.16.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.16.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/71739?format=api",
            "purl": "pkg:golang/github.com/hashicorp/consul@1.16.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4rvd-1dka-vufc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.16.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-3518",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00161",
                    "scoring_system": "epss",
                    "scoring_elements": "0.36519",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3782",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37774",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37822",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37802",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37742",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37503",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37482",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37391",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37854",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37879",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37757",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37808",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37835",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00167",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37799",
                    "published_at": "2026-04-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-3518"
        },
        {
            "reference_url": "https://discuss.hashicorp.com/t/hcsec-2023-25-consul-jwt-auth-in-l7-intentions-allow-for-mismatched-service-identity-and-jwt-providers/57004",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-08T14:42:29Z/"
                }
            ],
            "url": "https://discuss.hashicorp.com/t/hcsec-2023-25-consul-jwt-auth-in-l7-intentions-allow-for-mismatched-service-identity-and-jwt-providers/57004"
        },
        {
            "reference_url": "https://github.com/hashicorp/consul",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hashicorp/consul"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-3518",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-3518"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 266,
            "name": "Incorrect Privilege Assignment",
            "description": "A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor."
        },
        {
            "cwe_id": 285,
            "name": "Improper Authorization",
            "description": "The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action."
        }
    ],
    "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-4rvd-1dka-vufc"
}