Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47103?format=api",
    "vulnerability_id": "VCID-x165-3m21-x7en",
    "summary": "Gradio apps vulnerable to timing attacks to guess password\n### Impact\nThis security policy is with regards to a timing attack that allows users of Gradio apps to potentially guess the password of password-protected Gradio apps. This relies on the fact that string comparisons in Python terminate early, as soon as there is a string mismatch. Because Gradio apps are, by default, not rate-limited, a user could brute-force millions of guesses to figure out the correct username and password.\n\n### Patches\nYes, the problem has been patched in Gradio version 4.19.2 or higher. We have no knowledge of this exploit being used against users of Gradio applications, but we encourage all users to upgrade to Gradio 4.19.2 or higher.\n\nFixed in: https://github.com/gradio-app/gradio/commit/e329f1fd38935213fe0e73962e8cbd5d3af6e87b",
    "aliases": [
        {
            "alias": "CVE-2024-1729"
        },
        {
            "alias": "GHSA-hmx6-r76c-85g9"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/40944?format=api",
            "purl": "pkg:pypi/gradio@4.19.2",
            "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.19.2"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://github.com/gradio-app/gradio/commit/e329f1fd38935213fe0e73962e8cbd5d3af6e87b",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/gradio-app/gradio/commit/e329f1fd38935213fe0e73962e8cbd5d3af6e87b"
        },
        {
            "reference_url": "https://github.com/gradio-app/gradio/releases/tag/gradio%404.19.2",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/gradio-app/gradio/releases/tag/gradio%404.19.2"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-hmx6-r76c-85g9",
            "reference_id": "GHSA-hmx6-r76c-85g9",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-hmx6-r76c-85g9"
        },
        {
            "reference_url": "https://github.com/gradio-app/gradio/security/advisories/GHSA-hmx6-r76c-85g9",
            "reference_id": "GHSA-hmx6-r76c-85g9",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/gradio-app/gradio/security/advisories/GHSA-hmx6-r76c-85g9"
        }
    ],
    "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": 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-x165-3m21-x7en"
}