Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/50050?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/50050?format=api", "purl": "pkg:pypi/pillow@10.2.0", "type": "pypi", "namespace": "", "name": "pillow", "version": "10.2.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "12.2.0", "latest_non_vulnerable_version": "12.2.0", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37317?format=api", "vulnerability_id": "VCID-9hza-srk7-sucy", "summary": "Pillow is a Python imaging library. Prior to version 12.2.0, if a font advances for each glyph by an exceeding large amount, when Pillow keeps track of the current position, it may lead to an integer overflow. This issue has been patched in version 12.2.0.", "references": [ { "reference_url": "https://github.com/python-pillow/Pillow/releases/tag/12.2.0", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" } ], "url": "https://github.com/python-pillow/Pillow/releases/tag/12.2.0" }, { "reference_url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-wjx4-4jcj-g98j", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" } ], "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-wjx4-4jcj-g98j" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/50058?format=api", "purl": "pkg:pypi/pillow@12.2.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pillow@12.2.0" } ], "aliases": [ "CVE-2026-42308", "GHSA-wjx4-4jcj-g98j", "PYSEC-2026-165" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9hza-srk7-sucy" } ], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46849?format=api", "vulnerability_id": "VCID-kj4t-eqt9-x7c1", "summary": "Arbitrary Code Execution in Pillow\nPillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than CVE-2022-22817 (which was about the expression parameter).", "references": [ { "reference_url": "https://duartecsantos.github.io/2023-01-02-CVE-2023-50447", "reference_id": "", "reference_type": "", "scores": [], "url": "https://duartecsantos.github.io/2023-01-02-CVE-2023-50447" }, { "reference_url": "https://duartecsantos.github.io/2024-01-02-CVE-2023-50447", "reference_id": "", "reference_type": "", "scores": [], "url": "https://duartecsantos.github.io/2024-01-02-CVE-2023-50447" }, { "reference_url": "https://github.com/python-pillow/Pillow", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/python-pillow/Pillow" }, { "reference_url": "https://github.com/python-pillow/Pillow/commit/45c726fd4daa63236a8f3653530f297dc87b160a", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/python-pillow/Pillow/commit/45c726fd4daa63236a8f3653530f297dc87b160a" }, { "reference_url": "https://github.com/python-pillow/Pillow/releases", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/python-pillow/Pillow/releases" }, { "reference_url": "https://lists.debian.org/debian-lts-announce/2024/01/msg00019.html", "reference_id": "", "reference_type": "", "scores": [], "url": "https://lists.debian.org/debian-lts-announce/2024/01/msg00019.html" }, { "reference_url": "https://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html#security", "reference_id": "", "reference_type": "", "scores": [], "url": "https://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html#security" }, { "reference_url": "https://devhub.checkmarx.com/cve-details/CVE-2023-50447", "reference_id": "CVE-2023-50447", "reference_type": "", "scores": [], "url": "https://devhub.checkmarx.com/cve-details/CVE-2023-50447" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-50447", "reference_id": "CVE-2023-50447", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-50447" }, { "reference_url": "https://github.com/advisories/GHSA-3f63-hfp8-52jq", "reference_id": "GHSA-3f63-hfp8-52jq", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-3f63-hfp8-52jq" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/50050?format=api", "purl": "pkg:pypi/pillow@10.2.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-9hza-srk7-sucy" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pillow@10.2.0" } ], "aliases": [ "CVE-2023-50447", "GHSA-3f63-hfp8-52jq" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kj4t-eqt9-x7c1" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pillow@10.2.0" }