Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36469?format=api",
    "vulnerability_id": "VCID-pwqn-gvnb-fka5",
    "summary": "A dependency confusion in pipreqs v0.3.0 to v0.4.11 allows attackers to execute arbitrary code via uploading a crafted PyPI package to the chosen repository server.",
    "aliases": [
        {
            "alias": "CVE-2023-31543"
        },
        {
            "alias": "GHSA-v4f4-23wc-99mh"
        },
        {
            "alias": "PYSEC-2023-99"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34287?format=api",
            "purl": "pkg:pypi/pipreqs@0.4.12",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.4.12"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34265?format=api",
            "purl": "pkg:pypi/pipreqs@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34266?format=api",
            "purl": "pkg:pypi/pipreqs@0.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.3.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34267?format=api",
            "purl": "pkg:pypi/pipreqs@0.3.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.3.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34268?format=api",
            "purl": "pkg:pypi/pipreqs@0.3.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.3.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34269?format=api",
            "purl": "pkg:pypi/pipreqs@0.3.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.3.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34270?format=api",
            "purl": "pkg:pypi/pipreqs@0.3.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.3.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34271?format=api",
            "purl": "pkg:pypi/pipreqs@0.3.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.3.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34272?format=api",
            "purl": "pkg:pypi/pipreqs@0.3.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.3.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34273?format=api",
            "purl": "pkg:pypi/pipreqs@0.3.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.3.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34274?format=api",
            "purl": "pkg:pypi/pipreqs@0.3.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.3.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34275?format=api",
            "purl": "pkg:pypi/pipreqs@0.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34276?format=api",
            "purl": "pkg:pypi/pipreqs@0.4.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.4.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34277?format=api",
            "purl": "pkg:pypi/pipreqs@0.4.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.4.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34278?format=api",
            "purl": "pkg:pypi/pipreqs@0.4.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.4.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34279?format=api",
            "purl": "pkg:pypi/pipreqs@0.4.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.4.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34280?format=api",
            "purl": "pkg:pypi/pipreqs@0.4.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.4.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34281?format=api",
            "purl": "pkg:pypi/pipreqs@0.4.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.4.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34282?format=api",
            "purl": "pkg:pypi/pipreqs@0.4.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.4.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34283?format=api",
            "purl": "pkg:pypi/pipreqs@0.4.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.4.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34284?format=api",
            "purl": "pkg:pypi/pipreqs@0.4.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.4.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34285?format=api",
            "purl": "pkg:pypi/pipreqs@0.4.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.4.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34286?format=api",
            "purl": "pkg:pypi/pipreqs@0.4.11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwqn-gvnb-fka5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pipreqs@0.4.11"
        }
    ],
    "references": [
        {
            "reference_url": "https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafe",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://gist.github.com/adeadfed/ccc834440af354a5638f889bee34bafe"
        },
        {
            "reference_url": "https://github.com/bndr/pipreqs",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/bndr/pipreqs"
        },
        {
            "reference_url": "https://github.com/bndr/pipreqs/blob/master/pipreqs/pipreqs.py#L447-L449",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/bndr/pipreqs/blob/master/pipreqs/pipreqs.py#L447-L449"
        },
        {
            "reference_url": "https://github.com/bndr/pipreqs/commit/3f5964fcb90ec6eb6df46d78e651a1b73538d0ba",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/bndr/pipreqs/commit/3f5964fcb90ec6eb6df46d78e651a1b73538d0ba"
        },
        {
            "reference_url": "https://github.com/bndr/pipreqs/pull/364",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/bndr/pipreqs/pull/364"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/pipreqs/PYSEC-2023-99.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/pipreqs/PYSEC-2023-99.yaml"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31543",
            "reference_id": "CVE-2023-31543",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-31543"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-v4f4-23wc-99mh",
            "reference_id": "GHSA-v4f4-23wc-99mh",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-v4f4-23wc-99mh"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 427,
            "name": "Uncontrolled Search Path Element",
            "description": "The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors."
        },
        {
            "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": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pwqn-gvnb-fka5"
}