Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35195?format=api",
    "vulnerability_id": "VCID-hct7-3wtx-xyew",
    "summary": "Koji version 1.12, 1.13, 1.14 and 1.15 contain an incorrect access control vulnerability resulting in arbitrary filesystem read/write access. This vulnerability has been fixed in versions 1.12.1, 1.13.1, 1.14.1 and 1.15.1.",
    "aliases": [
        {
            "alias": "CVE-2018-1002150"
        },
        {
            "alias": "GHSA-6mww-xvh7-fq4f"
        },
        {
            "alias": "PYSEC-2018-86"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56083?format=api",
            "purl": "pkg:pypi/koji@1.12.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/koji@1.12.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56082?format=api",
            "purl": "pkg:pypi/koji@1.13.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/koji@1.13.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56081?format=api",
            "purl": "pkg:pypi/koji@1.14.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/koji@1.14.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11167?format=api",
            "purl": "pkg:pypi/koji@1.15.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/koji@1.15.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56077?format=api",
            "purl": "pkg:pypi/koji@1.12",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hct7-3wtx-xyew"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/koji@1.12"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56078?format=api",
            "purl": "pkg:pypi/koji@1.13",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hct7-3wtx-xyew"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/koji@1.13"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56079?format=api",
            "purl": "pkg:pypi/koji@1.14",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hct7-3wtx-xyew"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/koji@1.14"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56080?format=api",
            "purl": "pkg:pypi/koji@1.15",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hct7-3wtx-xyew"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/koji@1.15"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11166?format=api",
            "purl": "pkg:pypi/koji@1.15.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hct7-3wtx-xyew"
                },
                {
                    "vulnerability": "VCID-z9jd-u28p-qqek"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/koji@1.15.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://docs.pagure.org/koji/CVE-2018-1002150/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://docs.pagure.org/koji/CVE-2018-1002150/"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-6mww-xvh7-fq4f",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-6mww-xvh7-fq4f"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/koji/PYSEC-2018-86.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/koji/PYSEC-2018-86.yaml"
        },
        {
            "reference_url": "https://pagure.io/koji",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://pagure.io/koji"
        },
        {
            "reference_url": "https://pagure.io/koji/c/ab1ade7",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://pagure.io/koji/c/ab1ade7"
        },
        {
            "reference_url": "https://pagure.io/koji/issue/850",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://pagure.io/koji/issue/850"
        },
        {
            "reference_url": "https://docs.pagure.org/koji/CVE-2018-1002150",
            "reference_id": "CVE-2018-1002150",
            "reference_type": "",
            "scores": [],
            "url": "https://docs.pagure.org/koji/CVE-2018-1002150"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1002150",
            "reference_id": "CVE-2018-1002150",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1002150"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 732,
            "name": "Incorrect Permission Assignment for Critical Resource",
            "description": "The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by 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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hct7-3wtx-xyew"
}