Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46417?format=api",
    "vulnerability_id": "VCID-7vcj-1uvm-bfec",
    "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nAn attacker can overwrite any file on the server hosting MLflow without any authentication.",
    "aliases": [
        {
            "alias": "CVE-2023-6018"
        },
        {
            "alias": "GHSA-5p3h-7fwh-92rc"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/38206?format=api",
            "purl": "pkg:pypi/mlflow@2.8.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7m3u-tyeh-rqgz"
                },
                {
                    "vulnerability": "VCID-7vcj-1uvm-bfec"
                },
                {
                    "vulnerability": "VCID-93v9-5y4m-t7dz"
                },
                {
                    "vulnerability": "VCID-cu1t-7wnm-y7hk"
                },
                {
                    "vulnerability": "VCID-deyg-v3z9-6fet"
                },
                {
                    "vulnerability": "VCID-ep2z-9m6r-6ubu"
                },
                {
                    "vulnerability": "VCID-g9p5-4cqv-qfew"
                },
                {
                    "vulnerability": "VCID-hz26-bm34-gkfx"
                },
                {
                    "vulnerability": "VCID-j3ax-7a88-f7ff"
                },
                {
                    "vulnerability": "VCID-jbuf-3rr2-5kcv"
                },
                {
                    "vulnerability": "VCID-ns8z-pwe6-vbby"
                },
                {
                    "vulnerability": "VCID-pzmb-xzk9-s7dy"
                },
                {
                    "vulnerability": "VCID-rcqb-2498-77e2"
                },
                {
                    "vulnerability": "VCID-s76e-s9ut-2bdq"
                },
                {
                    "vulnerability": "VCID-saca-pg4n-xucu"
                },
                {
                    "vulnerability": "VCID-syg7-c85s-4ufu"
                },
                {
                    "vulnerability": "VCID-vd8p-48kf-yyg6"
                },
                {
                    "vulnerability": "VCID-wwe2-hxs5-t7eq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mlflow@2.8.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://huntr.com/bounties/7cf918b5-43f4-48c0-a371-4d963ce69b30",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://huntr.com/bounties/7cf918b5-43f4-48c0-a371-4d963ce69b30"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-6018",
            "reference_id": "CVE-2023-6018",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-6018"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-5p3h-7fwh-92rc",
            "reference_id": "GHSA-5p3h-7fwh-92rc",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-5p3h-7fwh-92rc"
        }
    ],
    "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-7vcj-1uvm-bfec"
}