Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/935033?format=api",
    "purl": "pkg:deb/debian/php-phpseclib@2.0.30-2?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "php-phpseclib",
    "version": "2.0.30-2",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.0.30-2+deb11u1",
    "latest_non_vulnerable_version": "2.0.53-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/34744?format=api",
            "vulnerability_id": "VCID-ndjx-6ned-93bd",
            "summary": "Improper Certificate Validation in phpseclib\nphpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-30130",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69394",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69257",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6927",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69288",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69269",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69318",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69336",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69358",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69342",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69314",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69353",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69363",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00595",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69343",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-30130"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30130",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30130"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2021-30130.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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2021-30130.yaml"
                },
                {
                    "reference_url": "https://github.com/phpseclib/phpseclib/pull/1635",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/phpseclib/phpseclib/pull/1635"
                },
                {
                    "reference_url": "https://github.com/phpseclib/phpseclib/releases/tag/2.0.31",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/phpseclib/phpseclib/releases/tag/2.0.31"
                },
                {
                    "reference_url": "https://github.com/phpseclib/phpseclib/releases/tag/3.0.7",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/phpseclib/phpseclib/releases/tag/3.0.7"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2022/11/msg00024.html",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2022/11/msg00024.html"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2022/11/msg00025.html",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2022/11/msg00025.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-30130",
                    "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:H/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-30130"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-vf4w-fg7r-5v94",
                    "reference_id": "GHSA-vf4w-fg7r-5v94",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-vf4w-fg7r-5v94"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/7404-1/",
                    "reference_id": "USN-7404-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/7404-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/935033?format=api",
                    "purl": "pkg:deb/debian/php-phpseclib@2.0.30-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-phpseclib@2.0.30-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/935034?format=api",
                    "purl": "pkg:deb/debian/php-phpseclib@2.0.30-2%2Bdeb11u2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-8h2u-szq5-13ar"
                        },
                        {
                            "vulnerability": "VCID-hnn9-wcwe-ffa5"
                        },
                        {
                            "vulnerability": "VCID-ku5e-5j7s-qyc9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-phpseclib@2.0.30-2%252Bdeb11u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/935032?format=api",
                    "purl": "pkg:deb/debian/php-phpseclib@2.0.42-1%2Bdeb12u2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hnn9-wcwe-ffa5"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-phpseclib@2.0.42-1%252Bdeb12u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/935036?format=api",
                    "purl": "pkg:deb/debian/php-phpseclib@2.0.48-3?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hnn9-wcwe-ffa5"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-phpseclib@2.0.48-3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/935035?format=api",
                    "purl": "pkg:deb/debian/php-phpseclib@2.0.52-1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hnn9-wcwe-ffa5"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-phpseclib@2.0.52-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1062522?format=api",
                    "purl": "pkg:deb/debian/php-phpseclib@2.0.53-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-phpseclib@2.0.53-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2021-30130",
                "GHSA-vf4w-fg7r-5v94"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ndjx-6ned-93bd"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-phpseclib@2.0.30-2%3Fdistro=trixie"
}