Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/373597?format=api",
    "purl": "pkg:alpm/archlinux/consul@1.9.7-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "consul",
    "version": "1.9.7-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.9.8-1",
    "latest_non_vulnerable_version": "1.10.2-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43435?format=api",
            "vulnerability_id": "VCID-65ru-yj23-qqbr",
            "summary": "HashiCorp Consul L7 deny intention results in an allow action\nIn HashiCorp Consul before 1.10.1 (and Consul Enterprise), xds can generate a situation where a single L7 deny intention (with a default deny policy) results in an allow action.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-36213",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73603",
                            "published_at": "2026-05-14T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73461",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7344",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73433",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73475",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73484",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73478",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73511",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73522",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7352",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73514",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73539",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73562",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73545",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73383",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73392",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73414",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73387",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73424",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00765",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73437",
                            "published_at": "2026-04-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-36213"
                },
                {
                    "reference_url": "https://discuss.hashicorp.com/t/hcsec-2021-16-consul-s-application-aware-intentions-deny-action-fails-open-when-combined-with-default-deny-policy/26855",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://discuss.hashicorp.com/t/hcsec-2021-16-consul-s-application-aware-intentions-deny-action-fails-open-when-combined-with-default-deny-policy/26855"
                },
                {
                    "reference_url": "https://github.com/hashicorp/consul",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/hashicorp/consul"
                },
                {
                    "reference_url": "https://github.com/hashicorp/consul/releases/tag/v1.10.1",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/hashicorp/consul/releases/tag/v1.10.1"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-36213",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-36213"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202208-09",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.gentoo.org/glsa/202208-09"
                },
                {
                    "reference_url": "https://www.hashicorp.com/blog/category/consul",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.hashicorp.com/blog/category/consul"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202107-69",
                    "reference_id": "ASA-202107-69",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202107-69"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2171",
                    "reference_id": "AVG-2171",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2171"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/373598?format=api",
                    "purl": "pkg:alpm/archlinux/consul@1.9.8-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/consul@1.9.8-1"
                }
            ],
            "aliases": [
                "CVE-2021-36213",
                "GHSA-8h2g-r292-j8xh"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-65ru-yj23-qqbr"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43493?format=api",
            "vulnerability_id": "VCID-jfzf-ynb1-23bs",
            "summary": "Hashicorp Consul Missing SSL Certificate Validation\nHashiCorp Consul before 1.10.1 (and Consul Enterprise) has Missing SSL Certificate Validation. xds does not ensure that the Subject Alternative Name of an upstream is validated.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32574",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74252",
                            "published_at": "2026-05-14T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74086",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74125",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74134",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74124",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7416",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74168",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74161",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74188",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74211",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74173",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74196",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74039",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74045",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7407",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74042",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74075",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74089",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74111",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00802",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74093",
                            "published_at": "2026-04-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32574"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32574",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32574"
                },
                {
                    "reference_url": "https://discuss.hashicorp.com/t/hcsec-2021-17-consul-s-envoy-tls-configuration-did-not-validate-destination-service-subject-alternative-names/26856",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://discuss.hashicorp.com/t/hcsec-2021-17-consul-s-envoy-tls-configuration-did-not-validate-destination-service-subject-alternative-names/26856"
                },
                {
                    "reference_url": "https://github.com/hashicorp/consul/releases/tag/v1.10.1",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/hashicorp/consul/releases/tag/v1.10.1"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32574",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32574"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202208-09",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.gentoo.org/glsa/202208-09"
                },
                {
                    "reference_url": "https://www.hashicorp.com/blog/category/consul",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.hashicorp.com/blog/category/consul"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991719",
                    "reference_id": "991719",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991719"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202107-69",
                    "reference_id": "ASA-202107-69",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202107-69"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2171",
                    "reference_id": "AVG-2171",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2171"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/373598?format=api",
                    "purl": "pkg:alpm/archlinux/consul@1.9.8-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/consul@1.9.8-1"
                }
            ],
            "aliases": [
                "CVE-2021-32574",
                "GHSA-25gf-8qrr-g78r"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jfzf-ynb1-23bs"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/consul@1.9.7-1"
}