Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/59269?format=api",
    "purl": "pkg:composer/drupal/core@8.8.11",
    "type": "composer",
    "namespace": "drupal",
    "name": "core",
    "version": "8.8.11",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.9.6",
    "latest_non_vulnerable_version": "11.2.8",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41563?format=api",
            "vulnerability_id": "VCID-wsv7-je8g-sqet",
            "summary": "Drupal core Unrestricted Upload of File with Dangerous Type\nDrupal core does not properly sanitize certain filenames on uploaded files, which can lead to files being interpreted as the incorrect extension and served as the wrong MIME type or executed as PHP for certain hosting configurations. This issue affects: Drupal Drupal Core 9.0 versions prior to 9.0.8, 8.9 versions prior to 8.9.9, 8.8 versions prior to 8.8.11, and 7 versions prior to 7.74.",
            "references": [
                {
                    "reference_url": "https://github.com/drupal/core",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/drupal/core"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5KSFM672XW3X6BR7TVKRD63SLZGKK437"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KWM4CTMEGAC4I2CHYNJVSROY4CVXVEUT"
                },
                {
                    "reference_url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13671",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13671"
                },
                {
                    "reference_url": "https://www.drupal.org/sa-core-2020-012",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.drupal.org/sa-core-2020-012"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-13671",
                    "reference_id": "CVE-2020-13671",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-13671"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2020-13671.yaml",
                    "reference_id": "CVE-2020-13671.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2020-13671.yaml"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2020-13671.yaml",
                    "reference_id": "CVE-2020-13671.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2020-13671.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-68jc-v27h-vhmw",
                    "reference_id": "GHSA-68jc-v27h-vhmw",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-68jc-v27h-vhmw"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59270?format=api",
                    "purl": "pkg:composer/drupal/core@7.74.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@7.74.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59269?format=api",
                    "purl": "pkg:composer/drupal/core@8.8.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@8.8.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59268?format=api",
                    "purl": "pkg:composer/drupal/core@8.9.9",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@8.9.9"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59267?format=api",
                    "purl": "pkg:composer/drupal/core@9.0.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@9.0.8"
                }
            ],
            "aliases": [
                "CVE-2020-13671",
                "GHSA-68jc-v27h-vhmw"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wsv7-je8g-sqet"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@8.8.11"
}