Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/19044?format=api",
    "vulnerability_id": "VCID-t3gx-x14x-2bf9",
    "summary": "Improper Handling of Length Parameter Inconsistency\nCKAN is an open-source data management system for powering data hubs and data portals. Starting in version 2.0.0 and prior to versions 2.9.10 and 2.10.3, when submitting a POST request to the `/dataset/new` endpoint (including either the auth cookie or the `Authorization` header) with a specially-crafted field, an attacker can create an out-of-memory error in the hosting server. To trigger this error, the attacker need to have permissions to create or edit datasets. This vulnerability has been patched in CKAN 2.10.3 and 2.9.10.",
    "aliases": [
        {
            "alias": "CVE-2023-50248"
        },
        {
            "alias": "GHSA-7fgc-89cx-w8j5"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/66959?format=api",
            "purl": "pkg:pypi/ckan@2.9.10",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ckan@2.9.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/66960?format=api",
            "purl": "pkg:pypi/ckan@2.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ckan@2.10.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/28629?format=api",
            "purl": "pkg:pypi/ckan@2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-t3gx-x14x-2bf9"
                },
                {
                    "vulnerability": "VCID-w6cg-ubux-qbfg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ckan@2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58690?format=api",
            "purl": "pkg:pypi/ckan@2.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6epn-ddfg-8fe9"
                },
                {
                    "vulnerability": "VCID-am2d-z4n4-93ff"
                },
                {
                    "vulnerability": "VCID-bah9-eeve-zybg"
                },
                {
                    "vulnerability": "VCID-mfpa-jdxh-vfd3"
                },
                {
                    "vulnerability": "VCID-t3gx-x14x-2bf9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ckan@2.10.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-50248",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39592",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-50248"
        },
        {
            "reference_url": "https://github.com/ckan/ckan",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ckan/ckan"
        },
        {
            "reference_url": "https://github.com/ckan/ckan/commit/bd02018b65c5b81d7ede195d00d0fcbac3aa33be",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ckan/ckan/commit/bd02018b65c5b81d7ede195d00d0fcbac3aa33be"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-50248",
            "reference_id": "CVE-2023-50248",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-50248"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-7fgc-89cx-w8j5",
            "reference_id": "GHSA-7fgc-89cx-w8j5",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-7fgc-89cx-w8j5"
        },
        {
            "reference_url": "https://github.com/ckan/ckan/security/advisories/GHSA-7fgc-89cx-w8j5",
            "reference_id": "GHSA-7fgc-89cx-w8j5",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ckan/ckan/security/advisories/GHSA-7fgc-89cx-w8j5"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "cwe_id": 130,
            "name": "Improper Handling of Length Parameter Inconsistency",
            "description": "The product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-t3gx-x14x-2bf9"
}