Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/19321?format=api",
    "vulnerability_id": "VCID-zyg1-nf3h-b3aj",
    "summary": "Symfony XML decoding attack vector through external entities\nThe XMLEncoder component of Symfony 2.0.x fails to disable external entities when parsing XML. In the Symfony2 framework the XML class may be used to deserialize objects or as part of a client/server API. By using external entities it is possible to include arbitrary files from the file system.",
    "aliases": [
        {
            "alias": "GHSA-j68w-pg49-f6vx"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/20035?format=api",
            "purl": "pkg:composer/symfony/serializer@2.0.12",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bdhj-np35-sybt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/serializer@2.0.12"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/20034?format=api",
            "purl": "pkg:composer/symfony/serializer@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bdhj-np35-sybt"
                },
                {
                    "vulnerability": "VCID-fgxs-w84s-8kh3"
                },
                {
                    "vulnerability": "VCID-zyg1-nf3h-b3aj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/serializer@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/147925?format=api",
            "purl": "pkg:composer/symfony/serializer@2.0.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bdhj-np35-sybt"
                },
                {
                    "vulnerability": "VCID-fgxs-w84s-8kh3"
                },
                {
                    "vulnerability": "VCID-zyg1-nf3h-b3aj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/serializer@2.0.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/147926?format=api",
            "purl": "pkg:composer/symfony/serializer@2.0.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bdhj-np35-sybt"
                },
                {
                    "vulnerability": "VCID-fgxs-w84s-8kh3"
                },
                {
                    "vulnerability": "VCID-zyg1-nf3h-b3aj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/serializer@2.0.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/147927?format=api",
            "purl": "pkg:composer/symfony/serializer@2.0.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bdhj-np35-sybt"
                },
                {
                    "vulnerability": "VCID-fgxs-w84s-8kh3"
                },
                {
                    "vulnerability": "VCID-zyg1-nf3h-b3aj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/serializer@2.0.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/147928?format=api",
            "purl": "pkg:composer/symfony/serializer@2.0.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bdhj-np35-sybt"
                },
                {
                    "vulnerability": "VCID-fgxs-w84s-8kh3"
                },
                {
                    "vulnerability": "VCID-zyg1-nf3h-b3aj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/serializer@2.0.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/147929?format=api",
            "purl": "pkg:composer/symfony/serializer@2.0.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bdhj-np35-sybt"
                },
                {
                    "vulnerability": "VCID-fgxs-w84s-8kh3"
                },
                {
                    "vulnerability": "VCID-zyg1-nf3h-b3aj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/serializer@2.0.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/147930?format=api",
            "purl": "pkg:composer/symfony/serializer@2.0.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bdhj-np35-sybt"
                },
                {
                    "vulnerability": "VCID-fgxs-w84s-8kh3"
                },
                {
                    "vulnerability": "VCID-zyg1-nf3h-b3aj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/symfony/serializer@2.0.10"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/serializer/2012-02-24.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/serializer/2012-02-24.yaml"
        },
        {
            "reference_url": "https://github.com/symfony/serializer",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/symfony/serializer"
        },
        {
            "reference_url": "https://github.com/symfony/serializer/commit/0943a06a663b573d7319fc1acd56d3484eaaa430",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/symfony/serializer/commit/0943a06a663b573d7319fc1acd56d3484eaaa430"
        },
        {
            "reference_url": "https://symfony.com/blog/security-release-symfony-2-0-11-released",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://symfony.com/blog/security-release-symfony-2-0-11-released"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-j68w-pg49-f6vx",
            "reference_id": "GHSA-j68w-pg49-f6vx",
            "reference_type": "",
            "scores": [
                {
                    "value": "CRITICAL",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-j68w-pg49-f6vx"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 611,
            "name": "Improper Restriction of XML External Entity Reference",
            "description": "The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output."
        },
        {
            "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": "9.0 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zyg1-nf3h-b3aj"
}