Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44908?format=api",
    "vulnerability_id": "VCID-6fm4-9s5n-m7fv",
    "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in org.xwiki.platform:xwiki-platform-flamingo-theme-ui.",
    "aliases": [
        {
            "alias": "GHSA-vrr8-fp7c-7qgp"
        },
        {
            "alias": "GMS-2023-1076"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64598?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui@13.10.11",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui@13.10.11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64599?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui@14.4.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui@14.4.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64600?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui@14.10",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui@14.10"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64596?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui@12.6.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6fm4-9s5n-m7fv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui@12.6.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64597?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui@14.0-rc-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6fm4-9s5n-m7fv"
                },
                {
                    "vulnerability": "VCID-yyd5-fsau-kyav"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui@14.0-rc-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64182?format=api",
            "purl": "pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui@14.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6fm4-9s5n-m7fv"
                },
                {
                    "vulnerability": "VCID-p4gd-nh8g-9bfq"
                },
                {
                    "vulnerability": "VCID-yyd5-fsau-kyav"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-theme-ui@14.5"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/commit/df596f15368342236f8899ca122af8f3df0fe2e8",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/xwiki/xwiki-platform/commit/df596f15368342236f8899ca122af8f3df0fe2e8"
        },
        {
            "reference_url": "https://jira.xwiki.org/browse/XWIKI-20280",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://jira.xwiki.org/browse/XWIKI-20280"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-vrr8-fp7c-7qgp",
            "reference_id": "GHSA-vrr8-fp7c-7qgp",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-vrr8-fp7c-7qgp"
        },
        {
            "reference_url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vrr8-fp7c-7qgp",
            "reference_id": "GHSA-vrr8-fp7c-7qgp",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vrr8-fp7c-7qgp"
        }
    ],
    "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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6fm4-9s5n-m7fv"
}