Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5763?format=api",
    "vulnerability_id": "VCID-zn42-jhqr-tfbe",
    "summary": "private key recovery",
    "aliases": [
        {
            "alias": "CVE-2020-16150"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/2550?format=api",
            "purl": "pkg:alpm/archlinux/mbedtls@2.25.0-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c7t5-rbve-6bgt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/mbedtls@2.25.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5748?format=api",
            "purl": "pkg:deb/debian/mbedtls@2.16.9-0.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mbedtls@2.16.9-0.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/2549?format=api",
            "purl": "pkg:alpm/archlinux/mbedtls@2.16.7-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-zn42-jhqr-tfbe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/mbedtls@2.16.7-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/78075?format=api",
            "purl": "pkg:conan/mbedtls@2.17.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-zn42-jhqr-tfbe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:conan/mbedtls@2.17.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/78074?format=api",
            "purl": "pkg:conan/mbedtls@2.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-zn42-jhqr-tfbe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:conan/mbedtls@2.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/4788?format=api",
            "purl": "pkg:deb/debian/mbedtls@2.4.2-1%2Bdeb9u1~bpo8%2B1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-p162-tw8z-yfdx"
                },
                {
                    "vulnerability": "VCID-q4fa-4qre-mbam"
                },
                {
                    "vulnerability": "VCID-wx8q-caff-8ud1"
                },
                {
                    "vulnerability": "VCID-xbug-nn1y-sygc"
                },
                {
                    "vulnerability": "VCID-zn42-jhqr-tfbe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mbedtls@2.4.2-1%252Bdeb9u1~bpo8%252B1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/4789?format=api",
            "purl": "pkg:deb/debian/mbedtls@2.4.2-1%2Bdeb9u3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-p162-tw8z-yfdx"
                },
                {
                    "vulnerability": "VCID-q4fa-4qre-mbam"
                },
                {
                    "vulnerability": "VCID-wx8q-caff-8ud1"
                },
                {
                    "vulnerability": "VCID-xbug-nn1y-sygc"
                },
                {
                    "vulnerability": "VCID-zn42-jhqr-tfbe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mbedtls@2.4.2-1%252Bdeb9u3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5633?format=api",
            "purl": "pkg:deb/debian/mbedtls@2.16.0-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-wx8q-caff-8ud1"
                },
                {
                    "vulnerability": "VCID-zn42-jhqr-tfbe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mbedtls@2.16.0-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-16150",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-16150"
        },
        {
            "reference_url": "https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-09-1",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-09-1"
        },
        {
            "reference_url": "https://security.archlinux.org/ASA-202101-7",
            "reference_id": "ASA-202101-7",
            "reference_type": "",
            "scores": [],
            "url": "https://security.archlinux.org/ASA-202101-7"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-1386",
            "reference_id": "AVG-1386",
            "reference_type": "",
            "scores": [
                {
                    "value": "High",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-1386"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-16150",
            "reference_id": "CVE-2020-16150",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-16150"
        }
    ],
    "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": 203,
            "name": "Observable Discrepancy",
            "description": "The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor, which exposes 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."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zn42-jhqr-tfbe"
}