Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/9758?format=api",
    "vulnerability_id": "VCID-4n96-uzyf-tud6",
    "summary": "Pillow before 9.3.0 allows denial of service via SAMPLESPERPIXEL.",
    "aliases": [
        {
            "alias": "BIT-pillow-2022-45199"
        },
        {
            "alias": "CVE-2022-45199"
        },
        {
            "alias": "GHSA-q4mp-jvh2-76fj"
        },
        {
            "alias": "PYSEC-2022-42980"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935369?format=api",
            "purl": "pkg:deb/debian/pillow@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pillow@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935347?format=api",
            "purl": "pkg:deb/debian/pillow@8.1.2%2Bdfsg-0.3%2Bdeb11u2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pillow@8.1.2%252Bdfsg-0.3%252Bdeb11u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935371?format=api",
            "purl": "pkg:deb/debian/pillow@9.3.0-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pillow@9.3.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935345?format=api",
            "purl": "pkg:deb/debian/pillow@9.4.0-1.1%2Bdeb12u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pillow@9.4.0-1.1%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935349?format=api",
            "purl": "pkg:deb/debian/pillow@11.1.0-5%2Bdeb13u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ca8h-871t-t3dd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pillow@11.1.0-5%252Bdeb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935348?format=api",
            "purl": "pkg:deb/debian/pillow@12.1.1-2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ca8h-871t-t3dd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pillow@12.1.1-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82964?format=api",
            "purl": "pkg:ebuild/dev-python/pillow@9.3.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-python/pillow@9.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/30050?format=api",
            "purl": "pkg:pypi/pillow@9.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5rv4-k1q9-zue2"
                },
                {
                    "vulnerability": "VCID-64n5-pugj-vue8"
                },
                {
                    "vulnerability": "VCID-9ckw-ra54-z3b7"
                },
                {
                    "vulnerability": "VCID-d7uf-zdbv-sba1"
                },
                {
                    "vulnerability": "VCID-n1hp-atex-ubh4"
                },
                {
                    "vulnerability": "VCID-vdzj-kqfy-d3b7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pillow@9.3.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/30049?format=api",
            "purl": "pkg:pypi/pillow@9.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4n96-uzyf-tud6"
                },
                {
                    "vulnerability": "VCID-5rv4-k1q9-zue2"
                },
                {
                    "vulnerability": "VCID-64n5-pugj-vue8"
                },
                {
                    "vulnerability": "VCID-9ckw-ra54-z3b7"
                },
                {
                    "vulnerability": "VCID-d7uf-zdbv-sba1"
                },
                {
                    "vulnerability": "VCID-n1hp-atex-ubh4"
                },
                {
                    "vulnerability": "VCID-vdzj-kqfy-d3b7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pillow@9.2.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-45199",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00122",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31532",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00122",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31343",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00122",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31372",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00122",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31391",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00122",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31358",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00122",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31394",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00122",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31437",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00122",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31434",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00122",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31403",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00122",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3135",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.0013",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32591",
                    "published_at": "2026-04-02T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-45199"
        },
        {
            "reference_url": "https://bugs.gentoo.org/878769",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://bugs.gentoo.org/878769"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-42980.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-42980.yaml"
        },
        {
            "reference_url": "https://github.com/python-pillow/Pillow",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/python-pillow/Pillow"
        },
        {
            "reference_url": "https://github.com/python-pillow/Pillow/commit/2444cddab2f83f28687c7c20871574acbb6dbcf3",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/python-pillow/Pillow/commit/2444cddab2f83f28687c7c20871574acbb6dbcf3"
        },
        {
            "reference_url": "https://github.com/python-pillow/Pillow/pull/6700",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/python-pillow/Pillow/pull/6700"
        },
        {
            "reference_url": "https://github.com/python-pillow/Pillow/releases/tag/9.3.0",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/python-pillow/Pillow/releases/tag/9.3.0"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45199",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45199"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202211-10",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "8.7",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.gentoo.org/glsa/202211-10"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024512",
            "reference_id": "1024512",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024512"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-q4mp-jvh2-76fj",
            "reference_id": "GHSA-q4mp-jvh2-76fj",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-q4mp-jvh2-76fj"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 400,
            "name": "Uncontrolled Resource Consumption",
            "description": "The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.3 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4n96-uzyf-tud6"
}