Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/22766?format=api",
    "vulnerability_id": "VCID-43g1-umu7-fqcw",
    "summary": "ImageMagick has a possible heap Use After Free vulnerability in its meta coder\nA heap Use After Free vulnerability exists in the meta coder when an allocation fails and a single byte is written to a stale pointer.\n\n```\n==535852==ERROR: AddressSanitizer: heap-use-after-free on address 0x5210000088ff at pc 0x5581bacac14d bp 0x7ffdf667edf0 sp 0x7ffdf667ede0\nWRITE of size 1 at 0x5210000088ff thread T0\n```",
    "aliases": [
        {
            "alias": "GHSA-2gq3-ww97-wfjm"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72994?format=api",
            "purl": "pkg:nuget/Magick.NET-Q16-arm64@14.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-arm64@14.10.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73004?format=api",
            "purl": "pkg:nuget/Magick.NET-Q16-HDRI-arm64@14.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-HDRI-arm64@14.10.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73006?format=api",
            "purl": "pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-arm64@14.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-arm64@14.10.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72993?format=api",
            "purl": "pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-x64@14.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-HDRI-OpenMP-x64@14.10.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72996?format=api",
            "purl": "pkg:nuget/Magick.NET-Q16-OpenMP-arm64@14.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-OpenMP-arm64@14.10.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73002?format=api",
            "purl": "pkg:nuget/Magick.NET-Q16-OpenMP-x64@14.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-OpenMP-x64@14.10.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73007?format=api",
            "purl": "pkg:nuget/Magick.NET-Q16-OpenMP-x86@14.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q16-OpenMP-x86@14.10.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72999?format=api",
            "purl": "pkg:nuget/Magick.NET-Q8-arm64@14.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q8-arm64@14.10.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73012?format=api",
            "purl": "pkg:nuget/Magick.NET-Q8-OpenMP-arm64@14.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q8-OpenMP-arm64@14.10.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72995?format=api",
            "purl": "pkg:nuget/magick.net-q8-openmp-x64@14.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/magick.net-q8-openmp-x64@14.10.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/84295?format=api",
            "purl": "pkg:nuget/Magick.NET-Q8-OpenMP-x64@14.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Magick.NET-Q8-OpenMP-x64@14.10.3"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://github.com/ImageMagick/ImageMagick",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ImageMagick/ImageMagick"
        },
        {
            "reference_url": "https://github.com/ImageMagick/ImageMagick/commit/f5049954f12c6fcf090a776767526d2a4708d58b",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ImageMagick/ImageMagick/commit/f5049954f12c6fcf090a776767526d2a4708d58b"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-2gq3-ww97-wfjm",
            "reference_id": "GHSA-2gq3-ww97-wfjm",
            "reference_type": "",
            "scores": [
                {
                    "value": "LOW",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-2gq3-ww97-wfjm"
        },
        {
            "reference_url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-2gq3-ww97-wfjm",
            "reference_id": "GHSA-2gq3-ww97-wfjm",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
                },
                {
                    "value": "LOW",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-2gq3-ww97-wfjm"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 416,
            "name": "Use After Free",
            "description": "Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code."
        },
        {
            "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": "0.1 - 3.7",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-43g1-umu7-fqcw"
}