{
    "CVE_data_meta": {
        "ASSIGNER": "security@qnap.com",
        "DATE_PUBLIC": "2020-12-30T02:55:00.000Z",
        "ID": "CVE-2018-19945",
        "STATE": "PUBLIC",
        "TITLE": "Improper Limitation of a Pathname to a Restricted Directory in QTS"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "QTS",
                                "version": {
                                    "version_data": [
                                        {
                                            "platform": "build 20190328",
                                            "version_affected": "<",
                                            "version_value": "4.3.6.0895"
                                        },
                                        {
                                            "platform": "build 20190322",
                                            "version_affected": "<",
                                            "version_value": "4.3.4.0899"
                                        },
                                        {
                                            "version_affected": "!",
                                            "version_value": "4.5.x"
                                        },
                                        {
                                            "version_affected": "!",
                                            "version_value": "4.4.x"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "QNAP Systems Inc."
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Independent Security Evaluators"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A vulnerability has been reported to affect earlier QNAP devices running QTS 4.3.4 to 4.3.6. Caused by improper limitations of a pathname to a restricted directory, this vulnerability allows for renaming arbitrary files on the target system, if exploited. QNAP have already fixed this vulnerability in the following versions: QTS 4.3.6.0895 build 20190328 (and later) QTS 4.3.4.0899 build 20190322 (and later) This issue does not affect QTS 4.4.x or QTS 4.5.x."
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-20 Improper Input Validation"
                    }
                ]
            },
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"
                    }
                ]
            },
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-73 External Control of File Name or Path"
                    }
                ]
            },
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-284 Improper Access Control"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "url": "https://www.qnap.com/zh-tw/security-advisory/qsa-20-21",
                "name": "https://www.qnap.com/zh-tw/security-advisory/qsa-20-21"
            }
        ]
    },
    "solution": [
        {
            "lang": "eng",
            "value": "QNAP have already fixed this vulnerability in the following versions:\n\nQTS 4.3.6.0895 build 20190328 (and later)\nQTS 4.3.4.0899 build 20190322 (and later)\nThis issue does not affect QTS 4.4.x or QTS 4.5.x."
        }
    ],
    "source": {
        "advisory": "QSA-20-21",
        "discovery": "EXTERNAL"
    }
}