Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50986?format=api",
    "vulnerability_id": "VCID-f9wh-4sms-r3cy",
    "summary": "administrate vulnerable to Cross-Site Request Forgery\nCross-site request forgery (CSRF) vulnerability in administrate 0.1.4 and earlier allows remote attackers to hijack the user's OAuth autorization code.",
    "aliases": [
        {
            "alias": "CVE-2016-3098"
        },
        {
            "alias": "GHSA-cc8c-26rj-v2vx"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/87393?format=api",
            "purl": "pkg:gem/administrate@0.1.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.1.5"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395783?format=api",
            "purl": "pkg:gem/administrate@0.0.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.0.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395784?format=api",
            "purl": "pkg:gem/administrate@0.0.11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.0.11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395785?format=api",
            "purl": "pkg:gem/administrate@0.0.12",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.0.12"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395776?format=api",
            "purl": "pkg:gem/administrate@0.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395777?format=api",
            "purl": "pkg:gem/administrate@0.0.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.0.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395778?format=api",
            "purl": "pkg:gem/administrate@0.0.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.0.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395779?format=api",
            "purl": "pkg:gem/administrate@0.0.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.0.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395780?format=api",
            "purl": "pkg:gem/administrate@0.0.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.0.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395781?format=api",
            "purl": "pkg:gem/administrate@0.0.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.0.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395782?format=api",
            "purl": "pkg:gem/administrate@0.0.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.0.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395786?format=api",
            "purl": "pkg:gem/administrate@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395787?format=api",
            "purl": "pkg:gem/administrate@0.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395788?format=api",
            "purl": "pkg:gem/administrate@0.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395789?format=api",
            "purl": "pkg:gem/administrate@0.1.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.1.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/395790?format=api",
            "purl": "pkg:gem/administrate@0.1.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-42j5-e9g5-mycf"
                },
                {
                    "vulnerability": "VCID-f9wh-4sms-r3cy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/administrate@0.1.4"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-3098",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30014",
                    "published_at": "2026-05-29T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-3098"
        },
        {
            "reference_url": "http://seclists.org/oss-sec/2016/q2/0",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                }
            ],
            "url": "http://seclists.org/oss-sec/2016/q2/0"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/administrate/CVE-2016-3098.yml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/administrate/CVE-2016-3098.yml"
        },
        {
            "reference_url": "https://github.com/thoughtbot/administrate",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/thoughtbot/administrate"
        },
        {
            "reference_url": "https://github.com/thoughtbot/administrate/blob/master/CHANGELOG.md#015-april-1-2016",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/thoughtbot/administrate/blob/master/CHANGELOG.md#015-april-1-2016"
        },
        {
            "reference_url": "https://github.com/thoughtbot/administrate/commit/be738a54b866191bf49664d8c6116587fb971759",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/thoughtbot/administrate/commit/be738a54b866191bf49664d8c6116587fb971759"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3098",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3098"
        },
        {
            "reference_url": "https://seclists.org/oss-sec/2016/q2/0",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://seclists.org/oss-sec/2016/q2/0"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-cc8c-26rj-v2vx",
            "reference_id": "GHSA-cc8c-26rj-v2vx",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-cc8c-26rj-v2vx"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 352,
            "name": "Cross-Site Request Forgery (CSRF)",
            "description": "The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request."
        },
        {
            "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": "4.0 - 6.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-f9wh-4sms-r3cy"
}