Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45243?format=api",
    "vulnerability_id": "VCID-zqzz-4pfg-9yax",
    "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in kiwitcms.",
    "aliases": [
        {
            "alias": "GHSA-x7c2-7wvg-jpx7"
        },
        {
            "alias": "GMS-2023-1626"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/33496?format=api",
            "purl": "pkg:pypi/kiwitcms@12.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6t3j-45g9-mkcf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/kiwitcms@12.3"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://kiwitcms.org/blog/kiwi-tcms-team/2023/05/22/kiwi-tcms-123/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://kiwitcms.org/blog/kiwi-tcms-team/2023/05/22/kiwi-tcms-123/"
        },
        {
            "reference_url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-2wcr-87wf-cf9j",
            "reference_id": "GHSA-2wcr-87wf-cf9j",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-2wcr-87wf-cf9j"
        },
        {
            "reference_url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-fwcf-753v-fgcj",
            "reference_id": "GHSA-fwcf-753v-fgcj",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-fwcf-753v-fgcj"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-x7c2-7wvg-jpx7",
            "reference_id": "GHSA-x7c2-7wvg-jpx7",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-x7c2-7wvg-jpx7"
        },
        {
            "reference_url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-x7c2-7wvg-jpx7",
            "reference_id": "GHSA-x7c2-7wvg-jpx7",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-x7c2-7wvg-jpx7"
        }
    ],
    "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-zqzz-4pfg-9yax"
}