Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47355?format=api",
    "vulnerability_id": "VCID-99va-f8e5-cbce",
    "summary": "gradio Server-Side Request Forgery vulnerability\nThe /proxy route allows a user to proxy arbitrary urls including potential internal endpoints.",
    "aliases": [
        {
            "alias": "CVE-2024-2206"
        },
        {
            "alias": "GHSA-r364-m2j9-mf4h"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/40941?format=api",
            "purl": "pkg:pypi/gradio@4.18.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2ueu-3u8x-pkfs"
                },
                {
                    "vulnerability": "VCID-3w2j-55q7-t7by"
                },
                {
                    "vulnerability": "VCID-4ahq-tuj8-fkgc"
                },
                {
                    "vulnerability": "VCID-4y28-s547-c3d3"
                },
                {
                    "vulnerability": "VCID-5c6u-kz54-a7ee"
                },
                {
                    "vulnerability": "VCID-6cys-sapp-9yh6"
                },
                {
                    "vulnerability": "VCID-aajd-8tqx-c3bn"
                },
                {
                    "vulnerability": "VCID-bmqt-uegd-hyap"
                },
                {
                    "vulnerability": "VCID-dsw8-wy3z-53hm"
                },
                {
                    "vulnerability": "VCID-ejg7-khk7-9qf3"
                },
                {
                    "vulnerability": "VCID-g36q-9t77-nuc9"
                },
                {
                    "vulnerability": "VCID-grp8-svdp-r7e6"
                },
                {
                    "vulnerability": "VCID-h9ep-6qj7-pued"
                },
                {
                    "vulnerability": "VCID-j1w9-nvdf-nfbr"
                },
                {
                    "vulnerability": "VCID-mk15-qxqc-vfab"
                },
                {
                    "vulnerability": "VCID-vaq5-ccvf-kyg6"
                },
                {
                    "vulnerability": "VCID-vg49-znwv-akgf"
                },
                {
                    "vulnerability": "VCID-wep6-zfzs-jkfb"
                },
                {
                    "vulnerability": "VCID-znu2-s2vu-n3fb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/gradio@4.18.0"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://github.com/gradio-app/gradio",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/gradio-app/gradio"
        },
        {
            "reference_url": "https://github.com/gradio-app/gradio/commit/49d9c48537aa706bf72628e3640389470138bdc6",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "7.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2024-06-20T18:26:27Z/"
                }
            ],
            "url": "https://github.com/gradio-app/gradio/commit/49d9c48537aa706bf72628e3640389470138bdc6"
        },
        {
            "reference_url": "https://huntr.com/bounties/2286c1ed-b889-45d6-adda-7014ea06d98e",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "7.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2024-06-20T18:26:27Z/"
                }
            ],
            "url": "https://huntr.com/bounties/2286c1ed-b889-45d6-adda-7014ea06d98e"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-2206",
            "reference_id": "CVE-2024-2206",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-2206"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-r364-m2j9-mf4h",
            "reference_id": "GHSA-r364-m2j9-mf4h",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-r364-m2j9-mf4h"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 918,
            "name": "Server-Side Request Forgery (SSRF)",
            "description": "The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination."
        },
        {
            "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": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-99va-f8e5-cbce"
}