Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/341012?format=api",
    "vulnerability_id": "VCID-mc6b-w14r-fkez",
    "summary": "typo3 Security fix for Flow Swift Mailer package",
    "aliases": [
        {
            "alias": "GHSA-xjw3-5r5c-m5ph"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/81670?format=api",
            "purl": "pkg:composer/typo3/swiftmailer@5.4.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/swiftmailer@5.4.5"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/81671?format=api",
            "purl": "pkg:composer/typo3/swiftmailer@4.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mc6b-w14r-fkez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/swiftmailer@4.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/81669?format=api",
            "purl": "pkg:composer/typo3/swiftmailer@5.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mc6b-w14r-fkez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/swiftmailer@5.4.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/swiftmailer/2017-01-06.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/swiftmailer/2017-01-06.yaml"
        },
        {
            "reference_url": "https://github.com/neos/swiftmailer",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/neos/swiftmailer"
        },
        {
            "reference_url": "https://www.neos.io/blog/flow-sa-2017-01.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.neos.io/blog/flow-sa-2017-01.html"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-xjw3-5r5c-m5ph",
            "reference_id": "GHSA-xjw3-5r5c-m5ph",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-xjw3-5r5c-m5ph"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mc6b-w14r-fkez"
}