Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/63829?format=api",
    "purl": "pkg:composer/swag/paypal@5.4.4",
    "type": "composer",
    "namespace": "swag",
    "name": "paypal",
    "version": "5.4.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.4.4",
    "latest_non_vulnerable_version": "5.4.4",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44373?format=api",
            "vulnerability_id": "VCID-6a6w-654d-x3ht",
            "summary": "Insufficient Verification of Data Authenticity\nSwagPayPal is a PayPal integration for shopware/platform. If JavaScript-based PayPal checkout methods are used (PayPal Plus, Smart Payment Buttons, SEPA, Pay Later, Venmo, Credit card), the amount and item list sent to PayPal may not be identical to the one in the created order. The problem has been fixed with version 5.4.4. As a workaround, disable the aforementioned payment methods or use the Security Plugin in version >= 1.0.21.",
            "references": [
                {
                    "reference_url": "https://github.com/shopware/SwagPayPal/commit/57db5f4a57ef0a1646b509b415de9f03bf441b08",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/shopware/SwagPayPal/commit/57db5f4a57ef0a1646b509b415de9f03bf441b08"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-23941",
                    "reference_id": "CVE-2023-23941",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-23941"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-vxpm-8hcp-qh27",
                    "reference_id": "GHSA-vxpm-8hcp-qh27",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-vxpm-8hcp-qh27"
                },
                {
                    "reference_url": "https://github.com/shopware/SwagPayPal/security/advisories/GHSA-vxpm-8hcp-qh27",
                    "reference_id": "GHSA-vxpm-8hcp-qh27",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/shopware/SwagPayPal/security/advisories/GHSA-vxpm-8hcp-qh27"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/63829?format=api",
                    "purl": "pkg:composer/swag/paypal@5.4.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/swag/paypal@5.4.4"
                }
            ],
            "aliases": [
                "CVE-2023-23941",
                "GHSA-vxpm-8hcp-qh27"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6a6w-654d-x3ht"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/swag/paypal@5.4.4"
}