Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47224?format=api",
    "vulnerability_id": "VCID-fzzq-2t1q-p7fa",
    "summary": "PaddlePaddle Path Traversal vulnerability\nArbitrary File Overwrite Via Path Traversal in paddlepaddle/paddle before 2.6",
    "aliases": [
        {
            "alias": "CVE-2024-0818"
        },
        {
            "alias": "GHSA-2rp8-hff9-c5wr"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/38543?format=api",
            "purl": "pkg:pypi/paddlepaddle@2.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-17nd-k3cn-4bb4"
                },
                {
                    "vulnerability": "VCID-fsej-h74n-6ffs"
                },
                {
                    "vulnerability": "VCID-fzzq-2t1q-p7fa"
                },
                {
                    "vulnerability": "VCID-mpck-qgnf-vfg5"
                },
                {
                    "vulnerability": "VCID-s51x-rhes-73h1"
                },
                {
                    "vulnerability": "VCID-wqhd-4yv8-37ea"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/paddlepaddle@2.6.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/PaddlePaddle/Paddle",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/PaddlePaddle/Paddle"
        },
        {
            "reference_url": "https://github.com/PaddlePaddle/Paddle/commit/5c50d1a8b97b310cbc36560ec36d8377d6f29d7c",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/PaddlePaddle/Paddle/commit/5c50d1a8b97b310cbc36560ec36d8377d6f29d7c"
        },
        {
            "reference_url": "https://huntr.com/bounties/85b06a1b-ac0b-4096-a06d-330891570cd9",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://huntr.com/bounties/85b06a1b-ac0b-4096-a06d-330891570cd9"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-0818",
            "reference_id": "CVE-2024-0818",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-0818"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-2rp8-hff9-c5wr",
            "reference_id": "GHSA-2rp8-hff9-c5wr",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-2rp8-hff9-c5wr"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 22,
            "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
            "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
        },
        {
            "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": "9.0 - 10.0",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fzzq-2t1q-p7fa"
}