Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42512?format=api",
    "vulnerability_id": "VCID-mr5c-68tz-nfbn",
    "summary": "Missing Authorization\nEC-CUBE 3.0.0 to 3.0.18-p3 and EC-CUBE 4.0.0 to 4.1.1 improperly handle HTTP Host header values, which may lead a remote unauthenticated attacker to direct the vulnerable version of EC-CUBE to send an Email with some forged reissue-password URL to EC-CUBE users.",
    "aliases": [
        {
            "alias": "CVE-2022-25355"
        },
        {
            "alias": "GHSA-pw97-6v74-9w3p"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60792?format=api",
            "purl": "pkg:composer/ec-cube/ec-cube@3.0.18",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2vzq-r4pf-1kac"
                },
                {
                    "vulnerability": "VCID-8d1z-47bk-vbd2"
                },
                {
                    "vulnerability": "VCID-fuus-wqhf-s3be"
                },
                {
                    "vulnerability": "VCID-he32-4cf1-akf5"
                },
                {
                    "vulnerability": "VCID-rqzy-xfsw-bqbg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@3.0.18"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60793?format=api",
            "purl": "pkg:composer/ec-cube/ec-cube@4.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f13c-wzhp-cqap"
                },
                {
                    "vulnerability": "VCID-fuus-wqhf-s3be"
                },
                {
                    "vulnerability": "VCID-he32-4cf1-akf5"
                },
                {
                    "vulnerability": "VCID-kgjm-uhbj-gffx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@4.1.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56415?format=api",
            "purl": "pkg:composer/ec-cube/ec-cube@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2vzq-r4pf-1kac"
                },
                {
                    "vulnerability": "VCID-8d1z-47bk-vbd2"
                },
                {
                    "vulnerability": "VCID-c6vr-e9zn-cbaz"
                },
                {
                    "vulnerability": "VCID-ccu6-ebu1-nkax"
                },
                {
                    "vulnerability": "VCID-fuus-wqhf-s3be"
                },
                {
                    "vulnerability": "VCID-he32-4cf1-akf5"
                },
                {
                    "vulnerability": "VCID-mr5c-68tz-nfbn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60790?format=api",
            "purl": "pkg:composer/ec-cube/ec-cube@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2vzq-r4pf-1kac"
                },
                {
                    "vulnerability": "VCID-bus3-azwk-cqfj"
                },
                {
                    "vulnerability": "VCID-ccu6-ebu1-nkax"
                },
                {
                    "vulnerability": "VCID-f13c-wzhp-cqap"
                },
                {
                    "vulnerability": "VCID-fuus-wqhf-s3be"
                },
                {
                    "vulnerability": "VCID-he32-4cf1-akf5"
                },
                {
                    "vulnerability": "VCID-kgjm-uhbj-gffx"
                },
                {
                    "vulnerability": "VCID-mr5c-68tz-nfbn"
                },
                {
                    "vulnerability": "VCID-zha4-9mts-pybk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60791?format=api",
            "purl": "pkg:composer/ec-cube/ec-cube@4.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mr5c-68tz-nfbn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@4.1.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-25355",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01055",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7793",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-25355"
        },
        {
            "reference_url": "https://github.com/EC-CUBE/ec-cube",
            "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:N/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/EC-CUBE/ec-cube"
        },
        {
            "reference_url": "https://jvn.jp/en/jp/JVN53871926/index.html",
            "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:N/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://jvn.jp/en/jp/JVN53871926/index.html"
        },
        {
            "reference_url": "https://www.ec-cube.net/info/weakness/20220221",
            "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:N/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.ec-cube.net/info/weakness/20220221"
        },
        {
            "reference_url": "https://www.ec-cube.net/info/weakness/20220221/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.ec-cube.net/info/weakness/20220221/"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25355",
            "reference_id": "CVE-2022-25355",
            "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:N/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25355"
        }
    ],
    "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": 913,
            "name": "Improper Control of Dynamically-Managed Code Resources",
            "description": "The product does not properly restrict reading from or writing to dynamically-managed code resources such as variables, objects, classes, attributes, functions, or executable instructions or statements."
        },
        {
            "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": 862,
            "name": "Missing Authorization",
            "description": "The product does not perform an authorization check when an actor attempts to access a resource or perform an action."
        }
    ],
    "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-mr5c-68tz-nfbn"
}