Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45984?format=api",
    "vulnerability_id": "VCID-w4dd-y1ur-zqfe",
    "summary": "Use of Password Hash With Insufficient Computational Effort\nButtercup v2.20.3 allows attackers to obtain the hash of the master password for the password manager via accessing the file /vaults.json/",
    "aliases": [
        {
            "alias": "CVE-2023-41646"
        },
        {
            "alias": "GHSA-7cwq-p8cr-h9qg"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/66826?format=api",
            "purl": "pkg:npm/buttercup@7.4.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/buttercup@7.4.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/66825?format=api",
            "purl": "pkg:npm/buttercup@2.20.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-w4dd-y1ur-zqfe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/buttercup@2.20.3"
        }
    ],
    "references": [
        {
            "reference_url": "https://buttercup.pw/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://buttercup.pw/"
        },
        {
            "reference_url": "https://github.com/buttercup/buttercup-core/commit/77fbcdfe4caf57486a3c83c07fc6d36bb0e1d3e1",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/buttercup/buttercup-core/commit/77fbcdfe4caf57486a3c83c07fc6d36bb0e1d3e1"
        },
        {
            "reference_url": "https://github.com/buttercup/buttercup-core/issues/336",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/buttercup/buttercup-core/issues/336"
        },
        {
            "reference_url": "https://github.com/tristao-marinho/CVE-2023-41646/",
            "reference_id": "CVE-2023-41646",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/tristao-marinho/CVE-2023-41646/"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-41646",
            "reference_id": "CVE-2023-41646",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-41646"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-7cwq-p8cr-h9qg",
            "reference_id": "GHSA-7cwq-p8cr-h9qg",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-7cwq-p8cr-h9qg"
        }
    ],
    "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": 916,
            "name": "Use of Password Hash With Insufficient Computational Effort",
            "description": "The product generates a hash for a password, but it uses a scheme that does not provide a sufficient level of computational effort that would make password cracking attacks infeasible or expensive."
        },
        {
            "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-w4dd-y1ur-zqfe"
}