{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-20115",
        "ASSIGNER": "psirt@cisco.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A vulnerability in the SFTP server implementation for Cisco Nexus 3000 Series Switches and 9000 Series Switches in standalone NX-OS mode could allow an authenticated, remote attacker to download or overwrite files from the underlying operating system of an affected device. \r\n\r This vulnerability is due to a logic error when verifying the user role when an SFTP connection is opened to an affected device. An attacker could exploit this vulnerability by connecting and authenticating via SFTP as a valid, non-administrator user. A successful exploit could allow the attacker to read or overwrite files from the underlying operating system with the privileges of the authenticated user.\r\n\r   There are workarounds that address this vulnerability."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Lack of Administrator Control over Security",
                        "cweId": "CWE-671"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Cisco",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Cisco NX-OS Software",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.2(1)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.2(2)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.2(2t)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.2(3)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.2(4)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.2(2v)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.3(1)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.3(2)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.3(3)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.3(4)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.3(5)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.3(6)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.3(7)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.3(7a)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.3(8)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.3(9)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.3(10)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "9.3(11)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "10.1(1)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "10.1(2)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "10.1(2t)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "10.2(1)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "10.2(1q)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "10.2(2)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "10.2(3)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "10.2(3t)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "10.2(4)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "10.2(5)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "10.3(1)"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "10.3(2)"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-nxos-sftp-xVAp5Hfd",
                "refsource": "MISC",
                "name": "https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-nxos-sftp-xVAp5Hfd"
            }
        ]
    },
    "source": {
        "advisory": "cisco-sa-nxos-sftp-xVAp5Hfd",
        "discovery": "INTERNAL",
        "defects": [
            "CSCwe47138"
        ]
    },
    "exploit": [
        {
            "lang": "en",
            "value": "The Cisco Product Security Incident Response Team (PSIRT) is not aware of any public announcements or malicious use of the vulnerability that is described in this advisory."
        }
    ],
    "impact": {
        "cvss": [
            {
                "version": "3.1",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
                "baseScore": 5.4,
                "baseSeverity": "MEDIUM",
                "attackVector": "NETWORK",
                "attackComplexity": "LOW",
                "privilegesRequired": "LOW",
                "userInteraction": "NONE",
                "scope": "UNCHANGED",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "availabilityImpact": "NONE"
            }
        ]
    }
}