Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/83397?format=api",
    "purl": "pkg:composer/simplesamlphp/simplesamlphp@2.3.4",
    "type": "composer",
    "namespace": "simplesamlphp",
    "name": "simplesamlphp",
    "version": "2.3.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/56288?format=api",
            "vulnerability_id": "VCID-hhq1-kxga-87ea",
            "summary": "SimpleSAMLphp vulnerable to XXE in parsing SAML messages\nWhen loading an (untrusted) XML document, for example the SAMLResponse, it's possible to induce an XXE.",
            "references": [
                {
                    "reference_url": "https://github.com/simplesamlphp/simplesamlphp",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/simplesamlphp/simplesamlphp"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-52596",
                    "reference_id": "CVE-2024-52596",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-52596"
                },
                {
                    "reference_url": "https://github.com/simplesamlphp/xml-common/security/advisories/GHSA-2x65-fpch-2fcm",
                    "reference_id": "GHSA-2x65-fpch-2fcm",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/simplesamlphp/xml-common/security/advisories/GHSA-2x65-fpch-2fcm"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-j5g2-q29x-cw3h",
                    "reference_id": "GHSA-j5g2-q29x-cw3h",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-j5g2-q29x-cw3h"
                },
                {
                    "reference_url": "https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-j5g2-q29x-cw3h",
                    "reference_id": "GHSA-j5g2-q29x-cw3h",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-j5g2-q29x-cw3h"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/83400?format=api",
                    "purl": "pkg:composer/simplesamlphp/simplesamlphp@2.0.15",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@2.0.15"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/787058?format=api",
                    "purl": "pkg:composer/simplesamlphp/simplesamlphp@2.1.0-rc1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@2.1.0-rc1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/83399?format=api",
                    "purl": "pkg:composer/simplesamlphp/simplesamlphp@2.1.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@2.1.7"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/83398?format=api",
                    "purl": "pkg:composer/simplesamlphp/simplesamlphp@2.2.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@2.2.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/83397?format=api",
                    "purl": "pkg:composer/simplesamlphp/simplesamlphp@2.3.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@2.3.4"
                }
            ],
            "aliases": [
                "GHSA-j5g2-q29x-cw3h"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hhq1-kxga-87ea"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@2.3.4"
}