Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44772?format=api",
    "vulnerability_id": "VCID-9kgp-v1fv-hqfe",
    "summary": "zsa is a library for building typesafe server actions in Next.js. All users are impacted. The zsa application transfers the parse error stack from the server to the client in production build mode. This can potentially reveal sensitive information about the server environment, such as the machine username and directory paths. An attacker could exploit this vulnerability to gain unauthorized access to sensitive server information. This information could be used to plan further attacks or gain a deeper understanding of the server infrastructure. This has been patched on `0.3.3`.",
    "aliases": [
        {
            "alias": "CVE-2024-37162"
        },
        {
            "alias": "GHSA-wjmj-h3xc-hxp8"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/32050?format=api",
            "purl": "pkg:npm/zsa@0.3.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/zsa@0.3.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/721228?format=api",
            "purl": "pkg:npm/zsa@0.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9kgp-v1fv-hqfe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/zsa@0.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/721229?format=api",
            "purl": "pkg:npm/zsa@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9kgp-v1fv-hqfe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/zsa@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/721230?format=api",
            "purl": "pkg:npm/zsa@0.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9kgp-v1fv-hqfe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/zsa@0.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/721231?format=api",
            "purl": "pkg:npm/zsa@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9kgp-v1fv-hqfe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/zsa@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/721232?format=api",
            "purl": "pkg:npm/zsa@0.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9kgp-v1fv-hqfe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/zsa@0.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/721233?format=api",
            "purl": "pkg:npm/zsa@0.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9kgp-v1fv-hqfe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/zsa@0.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/721234?format=api",
            "purl": "pkg:npm/zsa@0.2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9kgp-v1fv-hqfe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/zsa@0.2.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/721235?format=api",
            "purl": "pkg:npm/zsa@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9kgp-v1fv-hqfe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/zsa@0.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/721236?format=api",
            "purl": "pkg:npm/zsa@0.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9kgp-v1fv-hqfe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/zsa@0.3.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-37162",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00321",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55491",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.00321",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55613",
                    "published_at": "2026-06-14T12:55:00Z"
                },
                {
                    "value": "0.00321",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55611",
                    "published_at": "2026-06-12T12:55:00Z"
                },
                {
                    "value": "0.00321",
                    "scoring_system": "epss",
                    "scoring_elements": "0.55626",
                    "published_at": "2026-06-13T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-37162"
        },
        {
            "reference_url": "https://github.com/IdoPesok/zsa",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/IdoPesok/zsa"
        },
        {
            "reference_url": "https://github.com/IdoPesok/zsa/commit/86b86b282bde6780963f62406cc8bc65f2c86f3a",
            "reference_id": "86b86b282bde6780963f62406cc8bc65f2c86f3a",
            "reference_type": "",
            "scores": [
                {
                    "value": "4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-06-07T17:31:11Z/"
                }
            ],
            "url": "https://github.com/IdoPesok/zsa/commit/86b86b282bde6780963f62406cc8bc65f2c86f3a"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-37162",
            "reference_id": "CVE-2024-37162",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-37162"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-wjmj-h3xc-hxp8",
            "reference_id": "GHSA-wjmj-h3xc-hxp8",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-wjmj-h3xc-hxp8"
        },
        {
            "reference_url": "https://github.com/IdoPesok/zsa/security/advisories/GHSA-wjmj-h3xc-hxp8",
            "reference_id": "GHSA-wjmj-h3xc-hxp8",
            "reference_type": "",
            "scores": [
                {
                    "value": "4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "6.9",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-06-07T17:31:11Z/"
                }
            ],
            "url": "https://github.com/IdoPesok/zsa/security/advisories/GHSA-wjmj-h3xc-hxp8"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 209,
            "name": "Generation of Error Message Containing Sensitive Information",
            "description": "The product generates an error message that includes sensitive information about its environment, users, or associated data."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9kgp-v1fv-hqfe"
}