Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39767?format=api",
    "vulnerability_id": "VCID-a7fq-zc81-afb3",
    "summary": "Malicious package (Typosquatting)\nmariadb was a malicious module published with the intent to hijack environment variables. It has been unpublished by npm.",
    "aliases": [
        {
            "alias": "CVE-2017-16046"
        },
        {
            "alias": "GHSA-85fq-56wq-gmcf"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53866?format=api",
            "purl": "pkg:npm/mariadb@2.0.0-alpha",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/mariadb@2.0.0-alpha"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/211846?format=api",
            "purl": "pkg:npm/mariadb@0.0.1-security",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a7fq-zc81-afb3"
                },
                {
                    "vulnerability": "VCID-envz-8wus-z7hf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/mariadb@0.0.1-security"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/211847?format=api",
            "purl": "pkg:npm/mariadb@0.0.2-security",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a7fq-zc81-afb3"
                },
                {
                    "vulnerability": "VCID-envz-8wus-z7hf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/mariadb@0.0.2-security"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/211848?format=api",
            "purl": "pkg:npm/mariadb@1.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a7fq-zc81-afb3"
                },
                {
                    "vulnerability": "VCID-envz-8wus-z7hf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/mariadb@1.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53865?format=api",
            "purl": "pkg:npm/mariadb@1.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-a7fq-zc81-afb3"
                },
                {
                    "vulnerability": "VCID-envz-8wus-z7hf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/mariadb@1.0.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-16046",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00257",
                    "scoring_system": "epss",
                    "scoring_elements": "0.49315",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-16046"
        },
        {
            "reference_url": "https://www.npmjs.com/package/mariadb/v/1.0.1?activeTab=code",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.npmjs.com/package/mariadb/v/1.0.1?activeTab=code"
        },
        {
            "reference_url": "https://www.npmjs.com/package/mariadb/v/1.0.2?activeTab=code",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.npmjs.com/package/mariadb/v/1.0.2?activeTab=code"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16046",
            "reference_id": "CVE-2017-16046",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16046"
        }
    ],
    "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."
        },
        {
            "cwe_id": 506,
            "name": "Embedded Malicious Code",
            "description": "The product contains code that appears to be malicious in nature."
        }
    ],
    "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-a7fq-zc81-afb3"
}