Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/53165?format=api",
    "purl": "pkg:composer/typo3/cms@6.2.30",
    "type": "composer",
    "namespace": "typo3",
    "name": "cms",
    "version": "6.2.30",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "6.2.39",
    "latest_non_vulnerable_version": "12.2.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/55224?format=api",
            "vulnerability_id": "VCID-4wnp-gusy-43b8",
            "summary": "TYPO3 Remote Code Execution in third party library swiftmailer\nTYPO3 uses the package swiftmailer/swiftmailer for mail actions. This package is known to be vulnerable to Remote Code Execution.",
            "references": [
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/2017-01-03-1.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/2017-01-03-1.yaml"
                },
                {
                    "reference_url": "https://github.com/TYPO3/typo3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/TYPO3/typo3"
                },
                {
                    "reference_url": "https://typo3.org/security/advisory/typo3-core-sa-2017-001",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://typo3.org/security/advisory/typo3-core-sa-2017-001"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-g4pf-3jvq-2gcw",
                    "reference_id": "GHSA-g4pf-3jvq-2gcw",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-g4pf-3jvq-2gcw"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53165?format=api",
                    "purl": "pkg:composer/typo3/cms@6.2.30",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/cms@6.2.30"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53166?format=api",
                    "purl": "pkg:composer/typo3/cms@7.6.15",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9bep-jsfw-x3gn"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/cms@7.6.15"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/54072?format=api",
                    "purl": "pkg:composer/typo3/cms@8.5.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-h7cg-64er-uya9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/cms@8.5.1"
                }
            ],
            "aliases": [
                "GHSA-g4pf-3jvq-2gcw"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4wnp-gusy-43b8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38437?format=api",
            "vulnerability_id": "VCID-h7hf-sf2q-73ay",
            "summary": "Code Injection\nRemote Code Execution in third party library swiftmailer.",
            "references": [
                {
                    "reference_url": "https://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2017-001/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2017-001/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53165?format=api",
                    "purl": "pkg:composer/typo3/cms@6.2.30",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/cms@6.2.30"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53166?format=api",
                    "purl": "pkg:composer/typo3/cms@7.6.15",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-9bep-jsfw-x3gn"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/cms@7.6.15"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53167?format=api",
                    "purl": "pkg:composer/typo3/cms@8.5.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-fpa2-ffg1-fyaa"
                        },
                        {
                            "vulnerability": "VCID-h7cg-64er-uya9"
                        },
                        {
                            "vulnerability": "VCID-hknp-f88a-kqec"
                        },
                        {
                            "vulnerability": "VCID-je4q-svfw-hqda"
                        },
                        {
                            "vulnerability": "VCID-w1wb-mq2y-dfca"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/cms@8.5.0"
                }
            ],
            "aliases": [
                "GMS-2017-347"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h7hf-sf2q-73ay"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/cms@6.2.30"
}