Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40902?format=api",
    "vulnerability_id": "VCID-uss9-7vj8-nffq",
    "summary": "Improper Authentication\nUsers who cached their CLI authentication would remain authenticated because the fix for CVE-2019-1003004 in these releases did not reject existing remoting-based CLI authentication caches.",
    "aliases": [
        {
            "alias": "CVE-2019-1003049"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57767?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.172",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.172"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57765?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.164.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7vkv-m573-ubfa"
                },
                {
                    "vulnerability": "VCID-uss9-7vj8-nffq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.164.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57766?format=api",
            "purl": "pkg:maven/org.jenkins-ci.main/jenkins-core@2.171",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7vkv-m573-ubfa"
                },
                {
                    "vulnerability": "VCID-uss9-7vj8-nffq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.main/jenkins-core@2.171"
        }
    ],
    "references": [
        {
            "reference_url": "https://jenkins.io/security/advisory/2019-04-10/#SECURITY-1289",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://jenkins.io/security/advisory/2019-04-10/#SECURITY-1289"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-1003049",
            "reference_id": "CVE-2019-1003049",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-1003049"
        }
    ],
    "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": 613,
            "name": "Insufficient Session Expiration",
            "description": "According to WASC, Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization."
        },
        {
            "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-uss9-7vj8-nffq"
}