Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52203?format=api",
    "vulnerability_id": "VCID-1yss-77jx-9uec",
    "summary": "Injection Vulnerability\nThe npm module is vulnerable to Command Injection. Every exported method used by the package uses the `exec` function to parse user input.",
    "aliases": [
        {
            "alias": "CVE-2019-10783"
        },
        {
            "alias": "GHSA-whq6-mj2r-mjqc"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/247988?format=api",
            "purl": "pkg:npm/lsof@0.1.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lsof@0.1.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/247985?format=api",
            "purl": "pkg:npm/lsof@0.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1yss-77jx-9uec"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lsof@0.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/247986?format=api",
            "purl": "pkg:npm/lsof@0.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1yss-77jx-9uec"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lsof@0.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/247987?format=api",
            "purl": "pkg:npm/lsof@0.0.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1yss-77jx-9uec"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lsof@0.0.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/76575?format=api",
            "purl": "pkg:npm/lsof@0.0.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1yss-77jx-9uec"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lsof@0.0.4"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-10783",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.03665",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88099",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-10783"
        },
        {
            "reference_url": "https://snyk.io/vuln/SNYK-JS-LSOF-543632",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://snyk.io/vuln/SNYK-JS-LSOF-543632"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-10783",
            "reference_id": "CVE-2019-10783",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-10783"
        }
    ],
    "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": 78,
            "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
            "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."
        },
        {
            "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 - 9.8",
    "exploitability": "0.5",
    "weighted_severity": "8.8",
    "risk_score": 4.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1yss-77jx-9uec"
}