Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/60432?format=api",
    "vulnerability_id": "VCID-6zxb-1pvy-yqcp",
    "summary": "A vulnerability has been discovered in YAML-LibYAML, which can lead to shell injection.",
    "aliases": [
        {
            "alias": "CVE-2025-40908"
        }
    ],
    "fixed_packages": [
        {
            "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/1054806?format=api",
            "purl": "pkg:deb/debian/libyaml-libyaml-perl@0.86%2Bds-1%2Bdeb12u1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libyaml-libyaml-perl@0.86%252Bds-1%252Bdeb12u1"
        },
        {
            "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/85330?format=api",
            "purl": "pkg:ebuild/dev-perl/YAML-LibYAML@0.903.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-perl/YAML-LibYAML@0.903.0"
        }
    ],
    "affected_packages": [
        {
            "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/1054805?format=api",
            "purl": "pkg:deb/debian/libyaml-libyaml-perl@0.82%2Brepack-1",
            "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/90197?format=api",
            "purl": "pkg:rpm/redhat/perl-YAML-LibYAML@1:0.70-2?arch=el8_10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6zxb-1pvy-yqcp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/perl-YAML-LibYAML@1:0.70-2%3Farch=el8_10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/90198?format=api",
            "purl": "pkg:rpm/redhat/perl-YAML-LibYAML@1:0.82-6.el9_4?arch=1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6zxb-1pvy-yqcp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/perl-YAML-LibYAML@1:0.82-6.el9_4%3Farch=1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/90196?format=api",
            "purl": "pkg:rpm/redhat/perl-YAML-LibYAML@1:0.82-6.1?arch=el9_6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6zxb-1pvy-yqcp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/perl-YAML-LibYAML@1:0.82-6.1%3Farch=el9_6"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-40908.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.7",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-40908.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-40908",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.54125",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.0031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.54182",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.0031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.54155",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.0031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5413",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.0031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.54179",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.0031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.54229",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.0031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.54211",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.0031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5419",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.0031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.54228",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.0031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.54232",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59001",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58947",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.59003",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58984",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00372",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58987",
                    "published_at": "2026-04-29T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-40908"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-40908",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-40908"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/ingydotnet/yaml-libyaml-pm/issues/120",
            "reference_id": "120",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:T/P:M/B:A/M:M/D:T/2025-06-02T03:22:02Z/"
                }
            ],
            "url": "https://github.com/ingydotnet/yaml-libyaml-pm/issues/120"
        },
        {
            "reference_url": "https://github.com/ingydotnet/yaml-libyaml-pm/pull/121",
            "reference_id": "121",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:T/P:M/B:A/M:M/D:T/2025-06-02T03:22:02Z/"
                }
            ],
            "url": "https://github.com/ingydotnet/yaml-libyaml-pm/pull/121"
        },
        {
            "reference_url": "https://github.com/ingydotnet/yaml-libyaml-pm/pull/122",
            "reference_id": "122",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:T/P:M/B:A/M:M/D:T/2025-06-02T03:22:02Z/"
                }
            ],
            "url": "https://github.com/ingydotnet/yaml-libyaml-pm/pull/122"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2369630",
            "reference_id": "2369630",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2369630"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202506-11",
            "reference_id": "GLSA-202506-11",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/202506-11"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2025:9329",
            "reference_id": "RHSA-2025:9329",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2025:9329"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2025:9330",
            "reference_id": "RHSA-2025:9330",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2025:9330"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2025:9338",
            "reference_id": "RHSA-2025:9338",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2025:9338"
        },
        {
            "reference_url": "https://usn.ubuntu.com/7632-1/",
            "reference_id": "USN-7632-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/7632-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 552,
            "name": "Files or Directories Accessible to External Parties",
            "description": "The product makes files or directories accessible to unauthorized actors, even though they should not be."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.4 - 9.1",
    "exploitability": "0.5",
    "weighted_severity": "8.2",
    "risk_score": 4.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6zxb-1pvy-yqcp"
}