Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47228?format=api",
    "vulnerability_id": "VCID-fsej-h74n-6ffs",
    "summary": "PaddlePaddle command injection vulnerability\nCommand injection in IrGraph.draw in paddlepaddle/paddle 2.6.0",
    "aliases": [
        {
            "alias": "CVE-2024-0817"
        },
        {
            "alias": "GHSA-fh54-3vhg-mpc2"
        }
    ],
    "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": [],
            "url": "https://github.com/PaddlePaddle/Paddle"
        },
        {
            "reference_url": "https://github.com/PaddlePaddle/Paddle/commit/bdf6234fdc22e6ee7948950d271cbbe1d27edc93",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/PaddlePaddle/Paddle/commit/bdf6234fdc22e6ee7948950d271cbbe1d27edc93"
        },
        {
            "reference_url": "https://huntr.com/bounties/44d5cbd9-a046-417b-a8d4-bea6fda9cbe3",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://huntr.com/bounties/44d5cbd9-a046-417b-a8d4-bea6fda9cbe3"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-0817",
            "reference_id": "CVE-2024-0817",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-0817"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-fh54-3vhg-mpc2",
            "reference_id": "GHSA-fh54-3vhg-mpc2",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-fh54-3vhg-mpc2"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 77,
            "name": "Improper Neutralization of Special Elements used in a Command ('Command Injection')",
            "description": "The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component."
        },
        {
            "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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fsej-h74n-6ffs"
}