Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45563?format=api",
    "vulnerability_id": "VCID-19bg-p9mx-r7gg",
    "summary": "Files or Directories Accessible to External Parties vulnerability in Apache Software Foundation Apache InLong.This issue affects Apache InLong: from 1.4.0 through 1.6.0. Different users in InLong could delete, edit, stop, and start others' sources! Users are advised to upgrade to Apache InLong's 1.7.0 or cherry-pick https://github.com/apache/inlong/pull/7775 https://github.com/apache/inlong/pull/7775 to solve it.",
    "aliases": [
        {
            "alias": "CVE-2023-31066"
        },
        {
            "alias": "GHSA-wx79-r3q8-fq9h"
        }
    ],
    "fixed_packages": [
        {
            "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/65910?format=api",
            "purl": "pkg:maven/org.apache.inlong/manager-service@1.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-19bg-p9mx-r7gg"
                },
                {
                    "vulnerability": "VCID-242d-6bdt-9kbv"
                },
                {
                    "vulnerability": "VCID-7dex-j8fu-57a2"
                },
                {
                    "vulnerability": "VCID-phe3-ctkw-jfaw"
                },
                {
                    "vulnerability": "VCID-qfyn-8g2m-ryct"
                },
                {
                    "vulnerability": "VCID-zc6r-wxv8-8bcp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.inlong/manager-service@1.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65911?format=api",
            "purl": "pkg:maven/org.apache.inlong/manager-web@1.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-19bg-p9mx-r7gg"
                },
                {
                    "vulnerability": "VCID-242d-6bdt-9kbv"
                },
                {
                    "vulnerability": "VCID-phe3-ctkw-jfaw"
                },
                {
                    "vulnerability": "VCID-qfyn-8g2m-ryct"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.inlong/manager-web@1.4.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/apache/inlong/pull/7775",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/apache/inlong/pull/7775"
        },
        {
            "reference_url": "https://lists.apache.org/thread/x7y05wo37sq5l9fnmmsjh2dr9kcjrcxf",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread/x7y05wo37sq5l9fnmmsjh2dr9kcjrcxf"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31066",
            "reference_id": "CVE-2023-31066",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31066"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-wx79-r3q8-fq9h",
            "reference_id": "GHSA-wx79-r3q8-fq9h",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-wx79-r3q8-fq9h"
        }
    ],
    "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": 552,
            "name": "Files or Directories Accessible to External Parties",
            "description": "The product makes files or directories accessible to unauthorized actors, even though they should not be."
        },
        {
            "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-19bg-p9mx-r7gg"
}