Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35149?format=api",
    "vulnerability_id": "VCID-mafw-5w16-3qcx",
    "summary": "An issue was discovered in middleware.py in OpenStack Swauth through 1.2.0 when used with OpenStack Swift through 2.15.1. The Swift object store and proxy server are saving (unhashed) tokens retrieved from the Swauth middleware authentication mechanism to a log file as part of a GET URI. This allows attackers to bypass authentication by inserting a token into an X-Auth-Token header of a new request. NOTE: github.com/openstack/swauth URLs do not mean that Swauth is maintained by an official OpenStack project team.",
    "aliases": [
        {
            "alias": "CVE-2017-16613"
        },
        {
            "alias": "PYSEC-2017-84"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10563?format=api",
            "purl": "pkg:pypi/swauth@1.3.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/swauth@1.3.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10560?format=api",
            "purl": "pkg:pypi/swauth@1.0.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mafw-5w16-3qcx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/swauth@1.0.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10561?format=api",
            "purl": "pkg:pypi/swauth@1.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mafw-5w16-3qcx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/swauth@1.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10562?format=api",
            "purl": "pkg:pypi/swauth@1.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mafw-5w16-3qcx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/swauth@1.2.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882314",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882314"
        },
        {
            "reference_url": "https://bugs.launchpad.net/swift/+bug/1655781",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.launchpad.net/swift/+bug/1655781"
        },
        {
            "reference_url": "https://github.com/openstack/swauth/commit/70af7986265a3defea054c46efc82d0698917298",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/openstack/swauth/commit/70af7986265a3defea054c46efc82d0698917298"
        },
        {
            "reference_url": "https://www.debian.org/security/2017/dsa-4044",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.debian.org/security/2017/dsa-4044"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/101926",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/101926"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mafw-5w16-3qcx"
}