{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-49366",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Nginx UI is a web user interface for the Nginx web server. Nginx UI v2.0.0-beta.35 and earlier gets the value from the json field without verification, and can construct a value value in the form of `../../`. Arbitrary files can be written to the server, which may result in loss of permissions. Version 2.0.0-beta.26 fixes the issue."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                        "cweId": "CWE-22"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "0xJacky",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "nginx-ui",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "< 2.0.0-beta.36"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-prv4-rx44-f7jr",
                "refsource": "MISC",
                "name": "https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-prv4-rx44-f7jr"
            },
            {
                "url": "https://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36",
                "refsource": "MISC",
                "name": "https://github.com/0xJacky/nginx-ui/releases/tag/v2.0.0-beta.36"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-prv4-rx44-f7jr",
        "discovery": "UNKNOWN"
    }
}