Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/92305?format=api",
    "vulnerability_id": "VCID-2gya-adz6-2qgf",
    "summary": "Multiple format string vulnerabilities in the error reporting functionality in the YAML::LibYAML (aka YAML-LibYAML and perl-YAML-LibYAML) module 0.38 for Perl allow remote attackers to cause a denial of service (process crash) via format string specifiers in a (1) YAML stream to the Load function, (2) YAML node to the load_node function, (3) YAML mapping to the load_mapping function, or (4) YAML sequence to the load_sequence function.",
    "aliases": [
        {
            "alias": "CVE-2012-1152"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/929359?format=api",
            "purl": "pkg:deb/debian/libyaml-libyaml-perl@0.38-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libyaml-libyaml-perl@0.38-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/571652?format=api",
            "purl": "pkg:deb/debian/libyaml-libyaml-perl@0.38-3%2Bdeb7u3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ft98-s9x5-byev"
                },
                {
                    "vulnerability": "VCID-pkg9-61ah-kbex"
                },
                {
                    "vulnerability": "VCID-rj4z-edkc-pbdw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libyaml-libyaml-perl@0.38-3%252Bdeb7u3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/929360?format=api",
            "purl": "pkg:deb/debian/libyaml-libyaml-perl@0.82%2Brepack-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6zxb-1pvy-yqcp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libyaml-libyaml-perl@0.82%252Brepack-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/929358?format=api",
            "purl": "pkg:deb/debian/libyaml-libyaml-perl@0.86%2Bds-1%2Bdeb12u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libyaml-libyaml-perl@0.86%252Bds-1%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/929362?format=api",
            "purl": "pkg:deb/debian/libyaml-libyaml-perl@0.903.0%2Bds-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libyaml-libyaml-perl@0.903.0%252Bds-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/929361?format=api",
            "purl": "pkg:deb/debian/libyaml-libyaml-perl@0.904.0%2Bds-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libyaml-libyaml-perl@0.904.0%252Bds-1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/571648?format=api",
            "purl": "pkg:deb/debian/libyaml-libyaml-perl@0.33-1%2Bsqueeze3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2gya-adz6-2qgf"
                },
                {
                    "vulnerability": "VCID-ft98-s9x5-byev"
                },
                {
                    "vulnerability": "VCID-pkg9-61ah-kbex"
                },
                {
                    "vulnerability": "VCID-rj4z-edkc-pbdw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libyaml-libyaml-perl@0.33-1%252Bsqueeze3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/571650?format=api",
            "purl": "pkg:deb/debian/libyaml-libyaml-perl@0.33-1%2Bsqueeze4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2gya-adz6-2qgf"
                },
                {
                    "vulnerability": "VCID-ft98-s9x5-byev"
                },
                {
                    "vulnerability": "VCID-pkg9-61ah-kbex"
                },
                {
                    "vulnerability": "VCID-rj4z-edkc-pbdw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libyaml-libyaml-perl@0.33-1%252Bsqueeze4"
        }
    ],
    "references": [
        {
            "reference_url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661548",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661548"
        },
        {
            "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077004.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077004.html"
        },
        {
            "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077023.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077023.html"
        },
        {
            "reference_url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077782.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077782.html"
        },
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2012-08/msg00029.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.opensuse.org/opensuse-updates/2012-08/msg00029.html"
        },
        {
            "reference_url": "http://lists.opensuse.org/opensuse-updates/2015-02/msg00078.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lists.opensuse.org/opensuse-updates/2015-02/msg00078.html"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-1152",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88257",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88148",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88157",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88173",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88179",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88199",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88205",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88214",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88206",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88207",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8822",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88219",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88237",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88242",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.03855",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88244",
                    "published_at": "2026-04-29T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-1152"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=801738",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=801738"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1152",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1152"
        },
        {
            "reference_url": "http://secunia.com/advisories/48317",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/48317"
        },
        {
            "reference_url": "http://secunia.com/advisories/50277",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/50277"
        },
        {
            "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73856",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/73856"
        },
        {
            "reference_url": "https://rt.cpan.org/Public/Bug/Display.html?id=46507",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://rt.cpan.org/Public/Bug/Display.html?id=46507"
        },
        {
            "reference_url": "https://rt.cpan.org/Public/Bug/Display.html?id=75365",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://rt.cpan.org/Public/Bug/Display.html?id=75365"
        },
        {
            "reference_url": "http://www.debian.org/security/2012/dsa-2432",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.debian.org/security/2012/dsa-2432"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2012/03/09/6",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2012/03/09/6"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2012/03/10/4",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.openwall.com/lists/oss-security/2012/03/10/4"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/52381",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/52381"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661548",
            "reference_id": "661548",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661548"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:ingy:yaml\\:\\:libyaml:0.38:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:ingy:yaml\\:\\:libyaml:0.38:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:ingy:yaml\\:\\:libyaml:0.38:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-1152",
            "reference_id": "CVE-2012-1152",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.0",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:N/I:N/A:P"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-1152"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 134,
            "name": "Use of Externally-Controlled Format String",
            "description": "The product uses a function that accepts a format string as an argument, but the format string originates from an external source."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.0 - 5.0",
    "exploitability": "0.5",
    "weighted_severity": "4.5",
    "risk_score": 2.2,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2gya-adz6-2qgf"
}