Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/33891?format=api",
    "purl": "pkg:pypi/django-ses@2.2.2",
    "type": "pypi",
    "namespace": "",
    "name": "django-ses",
    "version": "2.2.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.5.0",
    "latest_non_vulnerable_version": "3.5.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36454?format=api",
            "vulnerability_id": "VCID-5dup-jv72-pkg5",
            "summary": "Django-SES is a drop-in mail backend for Django. The django_ses library implements a mail backend for Django using AWS Simple Email Service. The library exports the `SESEventWebhookView class` intended to receive signed requests from AWS to handle email bounces, subscriptions, etc. These requests are signed by AWS and are verified by django_ses, however the verification of this signature was found to be flawed as it allowed users to specify arbitrary public certificates. This issue was patched in version 3.5.0.",
            "references": [
                {
                    "reference_url": "https://github.com/django-ses/django-ses",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django-ses/django-ses"
                },
                {
                    "reference_url": "https://github.com/django-ses/django-ses/blob/3d627067935876487f9938310d5e1fbb249a7778/CVE/001-cert-url-signature-verification.md",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django-ses/django-ses/blob/3d627067935876487f9938310d5e1fbb249a7778/CVE/001-cert-url-signature-verification.md"
                },
                {
                    "reference_url": "https://github.com/django-ses/django-ses/commit/b71b5f413293a13997b6e6314086cb9c22629795",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django-ses/django-ses/commit/b71b5f413293a13997b6e6314086cb9c22629795"
                },
                {
                    "reference_url": "https://github.com/django-ses/django-ses/security/advisories/GHSA-qg36-9jxh-fj25",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/django-ses/django-ses/security/advisories/GHSA-qg36-9jxh-fj25"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/django-ses/PYSEC-2023-82.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/django-ses/PYSEC-2023-82.yaml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-33185",
                    "reference_id": "CVE-2023-33185",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-33185"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-qg36-9jxh-fj25",
                    "reference_id": "GHSA-qg36-9jxh-fj25",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-qg36-9jxh-fj25"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/33908?format=api",
                    "purl": "pkg:pypi/django-ses@3.5.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-ses@3.5.0"
                }
            ],
            "aliases": [
                "CVE-2023-33185",
                "GHSA-qg36-9jxh-fj25",
                "GMS-2023-1622",
                "PYSEC-2023-82"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5dup-jv72-pkg5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-ses@2.2.2"
}