Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39120?format=api",
    "vulnerability_id": "VCID-dwys-q7vh-kub9",
    "summary": "Insufficiently Protected Credentials\nThe SSH Plugin stores credentials which allow jobs to access remote servers via the SSH protocol. User passwords and passphrases for encrypted SSH keys are stored in plaintext in a configuration file.",
    "aliases": [
        {
            "alias": "CVE-2017-1000245"
        },
        {
            "alias": "GHSA-5gmf-8gh2-hhfp"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62598?format=api",
            "purl": "pkg:maven/org.jenkins-ci.plugins/ssh@2.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/ssh@2.5"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54623?format=api",
            "purl": "pkg:maven/org.jvnet.hudson.plugins/ssh@2.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dwys-q7vh-kub9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jvnet.hudson.plugins/ssh@2.4"
        }
    ],
    "references": [
        {
            "reference_url": "https://jenkins.io/security/advisory/2017-07-10/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://jenkins.io/security/advisory/2017-07-10/"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000245",
            "reference_id": "CVE-2017-1000245",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000245"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-5gmf-8gh2-hhfp",
            "reference_id": "GHSA-5gmf-8gh2-hhfp",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-5gmf-8gh2-hhfp"
        }
    ],
    "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": 522,
            "name": "Insufficiently Protected Credentials",
            "description": "The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval."
        },
        {
            "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-dwys-q7vh-kub9"
}