Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/55205?format=api",
    "vulnerability_id": "VCID-u7sk-kf9y-13gh",
    "summary": "Observable Timing Discrepancy in pypqc\n`kyber512`, `kyber768`, and `kyber1024` on Mac OS \\(or when compiled with clang\\) only: An attacker able to submit many decapsulation requests against a single private key, and to gain timing information about the decapsulation, could recover the private key. Proof-of-concept exploit exists for a local attacker.\n\nCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C",
    "aliases": [
        {
            "alias": "GHSA-hvh4-5qr6-3v7r"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/742984?format=api",
            "purl": "pkg:pypi/pypqc@0.0.7.0a2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pypqc@0.0.7.0a2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/81741?format=api",
            "purl": "pkg:pypi/pypqc@0.0.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4t6v-gd4e-qycv"
                },
                {
                    "vulnerability": "VCID-u7sk-kf9y-13gh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pypqc@0.0.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/719038?format=api",
            "purl": "pkg:pypi/pypqc@0.0.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4t6v-gd4e-qycv"
                },
                {
                    "vulnerability": "VCID-u7sk-kf9y-13gh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pypqc@0.0.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/719039?format=api",
            "purl": "pkg:pypi/pypqc@0.0.6.post1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4t6v-gd4e-qycv"
                },
                {
                    "vulnerability": "VCID-u7sk-kf9y-13gh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pypqc@0.0.6.post1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69104?format=api",
            "purl": "pkg:pypi/pypqc@0.0.6.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-u7sk-kf9y-13gh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pypqc@0.0.6.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/742982?format=api",
            "purl": "pkg:pypi/pypqc@0.0.6.1.post1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-u7sk-kf9y-13gh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pypqc@0.0.6.1.post1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/742983?format=api",
            "purl": "pkg:pypi/pypqc@0.0.6.2rc1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-u7sk-kf9y-13gh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pypqc@0.0.6.2rc1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/81742?format=api",
            "purl": "pkg:pypi/pypqc@0.0.6.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-u7sk-kf9y-13gh"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pypqc@0.0.6.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/JamesTheAwesomeDude/pypqc",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/JamesTheAwesomeDude/pypqc"
        },
        {
            "reference_url": "https://github.com/PQClean/PQClean/issues/556",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/PQClean/PQClean/issues/556"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-hvh4-5qr6-3v7r",
            "reference_id": "GHSA-hvh4-5qr6-3v7r",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-hvh4-5qr6-3v7r"
        },
        {
            "reference_url": "https://github.com/JamesTheAwesomeDude/pypqc/security/advisories/GHSA-hvh4-5qr6-3v7r",
            "reference_id": "GHSA-hvh4-5qr6-3v7r",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/JamesTheAwesomeDude/pypqc/security/advisories/GHSA-hvh4-5qr6-3v7r"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 208,
            "name": "Observable Timing Discrepancy",
            "description": "Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not."
        },
        {
            "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."
        },
        {
            "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": 385,
            "name": "Covert Timing Channel",
            "description": "Covert timing channels convey information by modulating some aspect of system behavior over time, so that the program receiving the information can observe system behavior and infer protected information."
        },
        {
            "cwe_id": 733,
            "name": "Compiler Optimization Removal or Modification of Security-critical Code",
            "description": "The developer builds a security-critical protection mechanism into the software, but the compiler optimizes the program such that the mechanism is removed or modified."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-u7sk-kf9y-13gh"
}