Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42468?format=api",
    "vulnerability_id": "VCID-5jts-46jw-tfdp",
    "summary": "Multiple vulnerabilities have been discovered in PHP, the worst of which can lead to a denial of service.",
    "aliases": [
        {
            "alias": "CVE-2024-5585"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/426115?format=api",
            "purl": "pkg:apk/alpine/php81@8.1.29-r0?arch=aarch64&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php81@8.1.29-r0%3Farch=aarch64&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/426116?format=api",
            "purl": "pkg:apk/alpine/php81@8.1.29-r0?arch=armhf&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php81@8.1.29-r0%3Farch=armhf&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/426117?format=api",
            "purl": "pkg:apk/alpine/php81@8.1.29-r0?arch=armv7&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php81@8.1.29-r0%3Farch=armv7&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/426118?format=api",
            "purl": "pkg:apk/alpine/php81@8.1.29-r0?arch=ppc64le&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php81@8.1.29-r0%3Farch=ppc64le&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/426119?format=api",
            "purl": "pkg:apk/alpine/php81@8.1.29-r0?arch=s390x&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php81@8.1.29-r0%3Farch=s390x&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/426120?format=api",
            "purl": "pkg:apk/alpine/php81@8.1.29-r0?arch=x86&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php81@8.1.29-r0%3Farch=x86&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/426121?format=api",
            "purl": "pkg:apk/alpine/php81@8.1.29-r0?arch=x86_64&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php81@8.1.29-r0%3Farch=x86_64&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/544751?format=api",
            "purl": "pkg:apk/alpine/php82@8.2.20-r0?arch=ppc64le&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php82@8.2.20-r0%3Farch=ppc64le&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/544748?format=api",
            "purl": "pkg:apk/alpine/php82@8.2.20-r0?arch=aarch64&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php82@8.2.20-r0%3Farch=aarch64&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/544749?format=api",
            "purl": "pkg:apk/alpine/php82@8.2.20-r0?arch=armhf&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php82@8.2.20-r0%3Farch=armhf&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/544750?format=api",
            "purl": "pkg:apk/alpine/php82@8.2.20-r0?arch=armv7&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php82@8.2.20-r0%3Farch=armv7&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/544752?format=api",
            "purl": "pkg:apk/alpine/php82@8.2.20-r0?arch=s390x&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php82@8.2.20-r0%3Farch=s390x&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/544753?format=api",
            "purl": "pkg:apk/alpine/php82@8.2.20-r0?arch=x86&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php82@8.2.20-r0%3Farch=x86&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/544754?format=api",
            "purl": "pkg:apk/alpine/php82@8.2.20-r0?arch=x86_64&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php82@8.2.20-r0%3Farch=x86_64&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/402718?format=api",
            "purl": "pkg:apk/alpine/php83@8.3.8-r0?arch=aarch64&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php83@8.3.8-r0%3Farch=aarch64&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/402719?format=api",
            "purl": "pkg:apk/alpine/php83@8.3.8-r0?arch=armhf&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php83@8.3.8-r0%3Farch=armhf&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/402720?format=api",
            "purl": "pkg:apk/alpine/php83@8.3.8-r0?arch=armv7&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php83@8.3.8-r0%3Farch=armv7&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/402721?format=api",
            "purl": "pkg:apk/alpine/php83@8.3.8-r0?arch=ppc64le&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php83@8.3.8-r0%3Farch=ppc64le&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/402722?format=api",
            "purl": "pkg:apk/alpine/php83@8.3.8-r0?arch=s390x&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php83@8.3.8-r0%3Farch=s390x&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/402723?format=api",
            "purl": "pkg:apk/alpine/php83@8.3.8-r0?arch=x86&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php83@8.3.8-r0%3Farch=x86&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/402724?format=api",
            "purl": "pkg:apk/alpine/php83@8.3.8-r0?arch=x86_64&distroversion=v3.19&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php83@8.3.8-r0%3Farch=x86_64&distroversion=v3.19&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935089?format=api",
            "purl": "pkg:deb/debian/php7.4@0?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php7.4@0%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935086?format=api",
            "purl": "pkg:deb/debian/php7.4@7.4.33-1%2Bdeb11u5?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php7.4@7.4.33-1%252Bdeb11u5%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935109?format=api",
            "purl": "pkg:deb/debian/php8.2@0?distro=bookworm",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php8.2@0%3Fdistro=bookworm"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935107?format=api",
            "purl": "pkg:deb/debian/php8.2@8.2.29-1~deb12u1?distro=bookworm",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php8.2@8.2.29-1~deb12u1%3Fdistro=bookworm"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/76062?format=api",
            "purl": "pkg:ebuild/dev-lang/php@8.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@8.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/76063?format=api",
            "purl": "pkg:ebuild/dev-lang/php@8.1.29",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@8.1.29"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/76064?format=api",
            "purl": "pkg:ebuild/dev-lang/php@8.2.20",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@8.2.20"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/76065?format=api",
            "purl": "pkg:ebuild/dev-lang/php@8.3.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@8.3.8"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-5585.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-5585.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-5585",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00874",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75321",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00874",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75226",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00874",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75257",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00874",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75234",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00874",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75276",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00874",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75287",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00874",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75308",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00874",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75286",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00874",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75275",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00874",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75314",
                    "published_at": "2026-04-16T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-5585"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "http://www.openwall.com/lists/oss-security/2024/06/07/1",
            "reference_id": "1",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L"
                },
                {
                    "value": "Track*",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2024-07-16T17:52:45Z/"
                }
            ],
            "url": "http://www.openwall.com/lists/oss-security/2024/06/07/1"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2291311",
            "reference_id": "2291311",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2291311"
        },
        {
            "reference_url": "https://github.com/php/php-src/security/advisories/GHSA-9fcc-425m-g385",
            "reference_id": "GHSA-9fcc-425m-g385",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L"
                },
                {
                    "value": "Track*",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2024-07-16T17:52:45Z/"
                }
            ],
            "url": "https://github.com/php/php-src/security/advisories/GHSA-9fcc-425m-g385"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202408-32",
            "reference_id": "GLSA-202408-32",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/202408-32"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20240726-0002/",
            "reference_id": "ntap-20240726-0002",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L"
                },
                {
                    "value": "Track*",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2024-07-16T17:52:45Z/"
                }
            ],
            "url": "https://security.netapp.com/advisory/ntap-20240726-0002/"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/",
            "reference_id": "PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L"
                },
                {
                    "value": "Track*",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2024-07-16T17:52:45Z/"
                }
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/",
            "reference_id": "W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L"
                },
                {
                    "value": "Track*",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2024-07-16T17:52:45Z/"
                }
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 78,
            "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
            "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."
        },
        {
            "cwe_id": 116,
            "name": "Improper Encoding or Escaping of Output",
            "description": "The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.7 - 9.4",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5jts-46jw-tfdp"
}