Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/267066?format=api",
    "vulnerability_id": "VCID-28we-h9bn-4ubd",
    "summary": "A Improper Link Resolution Before File Access ('Link Following') vulnerability in a script called by the sendmail systemd service of openSUSE Factory allows local attackers to escalate from user mail to root. This issue affects: SUSE openSUSE Factory sendmail versions prior to 8.17.1-1.1.",
    "aliases": [
        {
            "alias": "CVE-2022-31256"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/939237?format=api",
            "purl": "pkg:deb/debian/sendmail@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sendmail@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/939238?format=api",
            "purl": "pkg:deb/debian/sendmail@8.15.2-22%2Bdeb11u3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-u8aq-2qhu-gff5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sendmail@8.15.2-22%252Bdeb11u3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/939236?format=api",
            "purl": "pkg:deb/debian/sendmail@8.17.1.9-2%2Bdeb12u2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sendmail@8.17.1.9-2%252Bdeb12u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/939240?format=api",
            "purl": "pkg:deb/debian/sendmail@8.18.1-6?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sendmail@8.18.1-6%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/939239?format=api",
            "purl": "pkg:deb/debian/sendmail@8.18.2-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sendmail@8.18.2-1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-31256",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31719",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32303",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31722",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31627",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3165",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32341",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32166",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32215",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32242",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32243",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32205",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32173",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32207",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32187",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32158",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31996",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31869",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31787",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31641",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00128",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31715",
                    "published_at": "2026-05-07T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-31256"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://bugzilla.suse.com/show_bug.cgi?id=1204696",
            "reference_id": "show_bug.cgi?id=1204696",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/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:N/T:T/P:M/B:A/M:M/D:T/2025-05-09T19:11:41Z/"
                }
            ],
            "url": "https://bugzilla.suse.com/show_bug.cgi?id=1204696"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 59,
            "name": "Improper Link Resolution Before File Access ('Link Following')",
            "description": "The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.7 - 7.8",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-28we-h9bn-4ubd"
}