Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/166764?format=api",
    "vulnerability_id": "VCID-fe7j-gxfx-1ufh",
    "summary": "Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 on Windows allows attackers to execute arbitrary code via a long environment variable.",
    "aliases": [
        {
            "alias": "CVE-2017-12814"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934728?format=api",
            "purl": "pkg:deb/debian/perl@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/perl@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934721?format=api",
            "purl": "pkg:deb/debian/perl@5.32.1-4%2Bdeb11u3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r3y5-1dk2-pyfc"
                },
                {
                    "vulnerability": "VCID-vgg2-vymx-b3fe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/perl@5.32.1-4%252Bdeb11u3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934719?format=api",
            "purl": "pkg:deb/debian/perl@5.36.0-7%2Bdeb12u3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-vgg2-vymx-b3fe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/perl@5.36.0-7%252Bdeb12u3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934723?format=api",
            "purl": "pkg:deb/debian/perl@5.40.1-6?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/perl@5.40.1-6%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934722?format=api",
            "purl": "pkg:deb/debian/perl@5.40.1-7?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/perl@5.40.1-7%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-12814",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.06061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90775",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.06061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90763",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.06061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90699",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.06061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90705",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.06061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90716",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.06061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90726",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.06061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90737",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.06061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90743",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.06061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90751",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.06061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90748",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.06061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90767",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.06061",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90764",
                    "published_at": "2026-04-18T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-12814"
        },
        {
            "reference_url": "https://perl5.git.perl.org/perl.git/log/refs/tags/v5.24.3-RC1",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://perl5.git.perl.org/perl.git/log/refs/tags/v5.24.3-RC1"
        },
        {
            "reference_url": "https://perl5.git.perl.org/perl.git/log/refs/tags/v5.26.1-RC1",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://perl5.git.perl.org/perl.git/log/refs/tags/v5.26.1-RC1"
        },
        {
            "reference_url": "https://rt.perl.org/Public/Bug/Display.html?id=131665",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://rt.perl.org/Public/Bug/Display.html?id=131665"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20180426-0001/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://security.netapp.com/advisory/ntap-20180426-0001/"
        },
        {
            "reference_url": "https://www.oracle.com/security-alerts/cpujul2020.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.oracle.com/security-alerts/cpujul2020.html"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/101051",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/101051"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:perl:perl:5.26.0:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:perl:perl:5.26.0:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:perl:perl:5.26.0:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12814",
            "reference_id": "CVE-2017-12814",
            "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-2017-12814"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 119,
            "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer",
            "description": "The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.5 - 9.8",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fe7j-gxfx-1ufh"
}