Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46345?format=api",
    "vulnerability_id": "VCID-fuus-wqhf-s3be",
    "summary": "Improper Control of Generation of Code ('Code Injection')\nEC-CUBE 3 series (3.0.0 to 3.0.18-p6) and 4 series (4.0.0 to 4.0.6-p3, 4.1.0 to 4.1.2-p2, and 4.2.0 to 4.2.2) contain an arbitrary code execution vulnerability due to improper settings of the template engine Twig included in the product. As a result, arbitrary code may be executed on the server where the product is running by a user with an administrative privilege.",
    "aliases": [
        {
            "alias": "CVE-2023-46845"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64200?format=api",
            "purl": "pkg:composer/ec-cube/ec-cube@4.0.6-p1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@4.0.6-p1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64201?format=api",
            "purl": "pkg:composer/ec-cube/ec-cube@4.1.2-p1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@4.1.2-p1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67635?format=api",
            "purl": "pkg:composer/ec-cube/ec-cube@4.2.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@4.2.3"
        }
    ],
    "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-c6vr-e9zn-cbaz"
                },
                {
                    "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/60792?format=api",
            "purl": "pkg:composer/ec-cube/ec-cube@3.0.18",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fuus-wqhf-s3be"
                },
                {
                    "vulnerability": "VCID-he32-4cf1-akf5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@3.0.18"
        },
        {
            "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-f13c-wzhp-cqap"
                },
                {
                    "vulnerability": "VCID-fuus-wqhf-s3be"
                },
                {
                    "vulnerability": "VCID-he32-4cf1-akf5"
                },
                {
                    "vulnerability": "VCID-kgjm-uhbj-gffx"
                },
                {
                    "vulnerability": "VCID-mr5c-68tz-nfbn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64197?format=api",
            "purl": "pkg:composer/ec-cube/ec-cube@4.0.6",
            "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.0.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64198?format=api",
            "purl": "pkg:composer/ec-cube/ec-cube@4.1.0",
            "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"
                },
                {
                    "vulnerability": "VCID-tf8y-9k9g-jbct"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@4.1.0"
        },
        {
            "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64199?format=api",
            "purl": "pkg:composer/ec-cube/ec-cube@4.2.0",
            "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.2.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://jvn.jp/en/jp/JVN29195731/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://jvn.jp/en/jp/JVN29195731/"
        },
        {
            "reference_url": "https://www.ec-cube.net/info/weakness/20231026/index_3.php",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.ec-cube.net/info/weakness/20231026/index_3.php"
        },
        {
            "reference_url": "https://www.ec-cube.net/info/weakness/20231026/index_40.php",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.ec-cube.net/info/weakness/20231026/index_40.php"
        },
        {
            "reference_url": "https://www.ec-cube.net/info/weakness/20231026/index.php",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.ec-cube.net/info/weakness/20231026/index.php"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-46845",
            "reference_id": "CVE-2023-46845",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-46845"
        }
    ],
    "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": 94,
            "name": "Improper Control of Generation of Code ('Code Injection')",
            "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fuus-wqhf-s3be"
}