Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45241?format=api",
    "vulnerability_id": "VCID-dzjh-b3km-jycq",
    "summary": "Insecure Default Initialization of Resource Vulnerability in Apache Software Foundation Apache InLong.This issue affects Apache InLong: from 1.5.0 through 1.6.0. Users registered in InLong who joined later can see deleted users' data. Users are advised to upgrade to Apache InLong's 1.7.0 or cherry-pick https://github.com/apache/inlong/pull/7836 https://github.com/apache/inlong/pull/7836 to solve it.",
    "aliases": [
        {
            "alias": "CVE-2023-31101"
        },
        {
            "alias": "GHSA-h79m-5cm2-278c"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65169?format=api",
            "purl": "pkg:maven/org.apache.inlong/manager-dao@1.7.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.inlong/manager-dao@1.7.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65192?format=api",
            "purl": "pkg:maven/org.apache.inlong/manager-pojo@1.7.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.inlong/manager-pojo@1.7.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65167?format=api",
            "purl": "pkg:maven/org.apache.inlong/manager-service@1.7.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.inlong/manager-service@1.7.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65155?format=api",
            "purl": "pkg:maven/org.apache.inlong/manager-web@1.7.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.inlong/manager-web@1.7.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65168?format=api",
            "purl": "pkg:maven/org.apache.inlong/manager-dao@1.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dzjh-b3km-jycq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.inlong/manager-dao@1.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65191?format=api",
            "purl": "pkg:maven/org.apache.inlong/manager-pojo@1.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cxqk-swjn-ruaq"
                },
                {
                    "vulnerability": "VCID-dzjh-b3km-jycq"
                },
                {
                    "vulnerability": "VCID-qvta-52a2-tqcm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.inlong/manager-pojo@1.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65166?format=api",
            "purl": "pkg:maven/org.apache.inlong/manager-service@1.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dzjh-b3km-jycq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.inlong/manager-service@1.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65154?format=api",
            "purl": "pkg:maven/org.apache.inlong/manager-web@1.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dzjh-b3km-jycq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.inlong/manager-web@1.5.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/apache/inlong/pull/7836",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/inlong/pull/7836"
        },
        {
            "reference_url": "https://lists.apache.org/thread/shvwwr6toqz5rr39rwh4k03z08sh9jmr",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread/shvwwr6toqz5rr39rwh4k03z08sh9jmr"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31101",
            "reference_id": "CVE-2023-31101",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31101"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-h79m-5cm2-278c",
            "reference_id": "GHSA-h79m-5cm2-278c",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-h79m-5cm2-278c"
        }
    ],
    "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": 1188,
            "name": "Initialization of a Resource with an Insecure Default",
            "description": "The product initializes or sets a resource with a default that is intended to be changed by the administrator, but the default is not secure."
        },
        {
            "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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dzjh-b3km-jycq"
}