Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45318?format=api",
    "vulnerability_id": "VCID-78m5-9977-afbh",
    "summary": "Vulnerable OpenSSL included in cryptography wheels\npyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 0.5-40.0.2 is vulnerable to a security issue. More details about the vulnerability itself can be found in https://www.openssl.org/news/secadv/20230530.txt.\n\nIf you are building cryptography source (\"sdist\") then you are responsible for upgrading your copy of OpenSSL. Only users installing from wheels built by the cryptography project (i.e., those distributed on PyPI) need to update their cryptography versions.",
    "aliases": [
        {
            "alias": "GHSA-5cpq-8wj7-hf2v"
        },
        {
            "alias": "GMS-2023-1778"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34635?format=api",
            "purl": "pkg:pypi/cryptography@41.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-67ns-x8ut-cbdc"
                },
                {
                    "vulnerability": "VCID-dzvc-j4et-ukgu"
                },
                {
                    "vulnerability": "VCID-jksg-v3x3-z3d3"
                },
                {
                    "vulnerability": "VCID-n7hx-bfnn-5kgc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cryptography@41.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/9798?format=api",
            "purl": "pkg:pypi/cryptography@0.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-78m5-9977-afbh"
                },
                {
                    "vulnerability": "VCID-8kj7-du9v-uugw"
                },
                {
                    "vulnerability": "VCID-jksg-v3x3-z3d3"
                },
                {
                    "vulnerability": "VCID-v56n-dpyv-rug7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cryptography@0.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/34634?format=api",
            "purl": "pkg:pypi/cryptography@40.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-67ns-x8ut-cbdc"
                },
                {
                    "vulnerability": "VCID-78m5-9977-afbh"
                },
                {
                    "vulnerability": "VCID-dzvc-j4et-ukgu"
                },
                {
                    "vulnerability": "VCID-jksg-v3x3-z3d3"
                },
                {
                    "vulnerability": "VCID-n7hx-bfnn-5kgc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/cryptography@40.0.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://cryptography.io/en/latest/changelog/#v41-0-0",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cryptography.io/en/latest/changelog/#v41-0-0"
        },
        {
            "reference_url": "https://github.com/pyca/cryptography/commit/8708245ccdeaff21d65eea68a4f8d2a7c5949a22",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pyca/cryptography/commit/8708245ccdeaff21d65eea68a4f8d2a7c5949a22"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-5cpq-8wj7-hf2v",
            "reference_id": "GHSA-5cpq-8wj7-hf2v",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-5cpq-8wj7-hf2v"
        },
        {
            "reference_url": "https://github.com/pyca/cryptography/security/advisories/GHSA-5cpq-8wj7-hf2v",
            "reference_id": "GHSA-5cpq-8wj7-hf2v",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pyca/cryptography/security/advisories/GHSA-5cpq-8wj7-hf2v"
        }
    ],
    "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": 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-78m5-9977-afbh"
}