{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-23626",
        "STATE": "PUBLIC",
        "TITLE": "Insufficient file checks in m1k1o/blog"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "blog",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 1.4"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "m1k1o"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "m1k1o/blog is a lightweight self-hosted facebook-styled PHP blog. Errors from functions `imagecreatefrom*` and `image*` have not been checked properly. Although PHP issued warnings and the upload function returned `false`, the original file (that could contain a malicious payload) was kept on the disk. Users are advised to upgrade as soon as possible. There are no known workarounds for this issue."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-20: Improper Input Validation"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/m1k1o/blog/security/advisories/GHSA-wmqj-5v54-24x4",
                "refsource": "CONFIRM",
                "url": "https://github.com/m1k1o/blog/security/advisories/GHSA-wmqj-5v54-24x4"
            },
            {
                "name": "https://github.com/m1k1o/blog/commit/6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef",
                "refsource": "MISC",
                "url": "https://github.com/m1k1o/blog/commit/6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/167235/m1k1os-Blog-1.3-Remote-Code-Execution.html",
                "url": "http://packetstormsecurity.com/files/167235/m1k1os-Blog-1.3-Remote-Code-Execution.html"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-wmqj-5v54-24x4",
        "discovery": "UNKNOWN"
    }
}