Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/80206?format=api",
    "vulnerability_id": "VCID-mjgy-3jz3-kbb1",
    "summary": "puppet: SQL injection",
    "aliases": [
        {
            "alias": "CVE-2021-27021"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373660?format=api",
            "purl": "pkg:alpm/archlinux/puppet@6.23.0-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/puppet@6.23.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936014?format=api",
            "purl": "pkg:deb/debian/puppetdb@7.11.2-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/puppetdb@7.11.2-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936013?format=api",
            "purl": "pkg:deb/debian/puppetdb@7.12.1-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/puppetdb@7.12.1-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936016?format=api",
            "purl": "pkg:deb/debian/puppetdb@8.4.1-4?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/puppetdb@8.4.1-4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936015?format=api",
            "purl": "pkg:deb/debian/puppetdb@8.8.1-1~exp1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/puppetdb@8.8.1-1~exp1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373659?format=api",
            "purl": "pkg:alpm/archlinux/puppet@6.22.1-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mjgy-3jz3-kbb1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/puppet@6.22.1-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-27021.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.9",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-27021.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-27021",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00626",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70128",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00626",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7014",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00626",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70155",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00626",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70132",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00626",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7018",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00626",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70196",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00626",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70219",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00626",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70204",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00626",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70192",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00626",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70234",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00626",
                    "scoring_system": "epss",
                    "scoring_elements": "0.70243",
                    "published_at": "2026-04-18T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-27021"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1976314",
            "reference_id": "1976314",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1976314"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990419",
            "reference_id": "990419",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990419"
        },
        {
            "reference_url": "https://security.archlinux.org/ASA-202107-8",
            "reference_id": "ASA-202107-8",
            "reference_type": "",
            "scores": [],
            "url": "https://security.archlinux.org/ASA-202107-8"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2105",
            "reference_id": "AVG-2105",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2105"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 89,
            "name": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
            "description": "The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mjgy-3jz3-kbb1"
}