Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/22781?format=api",
    "vulnerability_id": "VCID-s2em-jpqc-1ua5",
    "summary": "ImageMagick: Heap-based Buffer Overflow in GetPixelIndex due to metadata-cache desynchronization\n`OpenPixelCache`  updates image channel metadata **before** attempting pixel cache memory allocation. When both memory and disk allocation fail a heap-buffer-overflow read in occurs in any writer that calls `GetPixelIndex`.",
    "aliases": [
        {
            "alias": "GHSA-gq5v-qf8q-fp77"
        }
    ],
    "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/dlemstra/Magick.NET/releases/tag/14.10.3",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:L"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3"
        },
        {
            "reference_url": "https://github.com/ImageMagick/ImageMagick",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:L"
                },
                {
                    "value": "LOW",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ImageMagick/ImageMagick"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-gq5v-qf8q-fp77",
            "reference_id": "GHSA-gq5v-qf8q-fp77",
            "reference_type": "",
            "scores": [
                {
                    "value": "LOW",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-gq5v-qf8q-fp77"
        },
        {
            "reference_url": "https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-gq5v-qf8q-fp77",
            "reference_id": "GHSA-gq5v-qf8q-fp77",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/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-gq5v-qf8q-fp77"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 122,
            "name": "Heap-based Buffer Overflow",
            "description": "A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc()."
        },
        {
            "cwe_id": 125,
            "name": "Out-of-bounds Read",
            "description": "The product reads data past the end, or before the beginning, of the intended buffer."
        },
        {
            "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.3",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-s2em-jpqc-1ua5"
}