Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54871?format=api",
    "vulnerability_id": "VCID-fkq5-7t4p-jbdk",
    "summary": "FOSUserBundle Session Hijacking Vulnerability\nVersions of FOSUserBundle from 1.2.x to 1.2.4 have been found to contain a security vulnerability related to session hijacking. This issue has been addressed in version 1.2.4, and users are strongly advised to upgrade to the latest version to prevent potential session-related security risks.",
    "aliases": [
        {
            "alias": "GHSA-6mjq-9x4w-m3w9"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51273?format=api",
            "purl": "pkg:composer/friendsofsymfony/user-bundle@1.2.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cp9j-3948-mud8"
                },
                {
                    "vulnerability": "VCID-ky5a-sata-5yf6"
                },
                {
                    "vulnerability": "VCID-yyyq-za39-r3hh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/friendsofsymfony/user-bundle@1.2.4"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51272?format=api",
            "purl": "pkg:composer/friendsofsymfony/user-bundle@1.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-98wp-9e1h-yfgg"
                },
                {
                    "vulnerability": "VCID-cp9j-3948-mud8"
                },
                {
                    "vulnerability": "VCID-fkq5-7t4p-jbdk"
                },
                {
                    "vulnerability": "VCID-ky5a-sata-5yf6"
                },
                {
                    "vulnerability": "VCID-nnxf-zbvz-1qdb"
                },
                {
                    "vulnerability": "VCID-sv3j-tu9a-pucg"
                },
                {
                    "vulnerability": "VCID-yyyq-za39-r3hh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/friendsofsymfony/user-bundle@1.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51274?format=api",
            "purl": "pkg:composer/friendsofsymfony/user-bundle@1.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cp9j-3948-mud8"
                },
                {
                    "vulnerability": "VCID-fkq5-7t4p-jbdk"
                },
                {
                    "vulnerability": "VCID-ky5a-sata-5yf6"
                },
                {
                    "vulnerability": "VCID-yyyq-za39-r3hh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/friendsofsymfony/user-bundle@1.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/197821?format=api",
            "purl": "pkg:composer/friendsofsymfony/user-bundle@1.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cp9j-3948-mud8"
                },
                {
                    "vulnerability": "VCID-fkq5-7t4p-jbdk"
                },
                {
                    "vulnerability": "VCID-ky5a-sata-5yf6"
                },
                {
                    "vulnerability": "VCID-yyyq-za39-r3hh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/friendsofsymfony/user-bundle@1.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/197822?format=api",
            "purl": "pkg:composer/friendsofsymfony/user-bundle@1.2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cp9j-3948-mud8"
                },
                {
                    "vulnerability": "VCID-fkq5-7t4p-jbdk"
                },
                {
                    "vulnerability": "VCID-ky5a-sata-5yf6"
                },
                {
                    "vulnerability": "VCID-yyyq-za39-r3hh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/friendsofsymfony/user-bundle@1.2.3"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/friendsofsymfony/user-bundle/2012-07-10-2.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/friendsofsymfony/user-bundle/2012-07-10-2.yaml"
        },
        {
            "reference_url": "https://github.com/FriendsOfSymfony/FOSUserBundle",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/FriendsOfSymfony/FOSUserBundle"
        },
        {
            "reference_url": "https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Changelog.md",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Changelog.md"
        },
        {
            "reference_url": "https://github.com/FriendsOfSymfony/FOSUserBundle/commit/8e412a70cafd924ad04c7325dae423048861b955",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/FriendsOfSymfony/FOSUserBundle/commit/8e412a70cafd924ad04c7325dae423048861b955"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-6mjq-9x4w-m3w9",
            "reference_id": "GHSA-6mjq-9x4w-m3w9",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-6mjq-9x4w-m3w9"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "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-fkq5-7t4p-jbdk"
}