Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/187607?format=api",
    "vulnerability_id": "VCID-37yk-3v22-4qg7",
    "summary": "The previous version of Puppet Enterprise 2018.1 is vulnerable to unsafe code execution when upgrading pe-razor-server. Affected releases are Puppet Enterprise: 2018.1.x versions prior to 2018.1.1 and razor-server and pe-razor-server prior to 1.9.0.0.",
    "aliases": [
        {
            "alias": "CVE-2018-6512"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935972?format=api",
            "purl": "pkg:deb/debian/puppet@0?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/puppet@0%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935962?format=api",
            "purl": "pkg:deb/debian/puppet@5.5.22-2?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/puppet@5.5.22-2%3Fdistro=bullseye"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-6512",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78427",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78388",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78185",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78194",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78224",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78206",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78232",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78238",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78264",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78247",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78242",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78274",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78271",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78268",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78301",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78307",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78323",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78336",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78361",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78377",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.0112",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78372",
                    "published_at": "2026-05-11T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-6512"
        },
        {
            "reference_url": "https://puppet.com/security/cve/CVE-2018-6512",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://puppet.com/security/cve/CVE-2018-6512"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:puppet:pe-razor-server:*:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:puppet:pe-razor-server:*:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:puppet:pe-razor-server:*:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:puppet:puppet_enterprise:*:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:puppet:puppet_enterprise:*:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:puppet:puppet_enterprise:*:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:puppet:razor-server:*:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:puppet:razor-server:*:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:puppet:razor-server:*:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6512",
            "reference_id": "CVE-2018-6512",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:P/A:P"
                },
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6512"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 94,
            "name": "Improper Control of Generation of Code ('Code Injection')",
            "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.5 - 9.8",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-37yk-3v22-4qg7"
}