Patching the Path Traversal (CVE-2019-10197) vulnerability in Samba



    Samba, the open source implementation of the SMB/CIFS protocols, was recently found to be vulnerable to a path traversal attack. This vulnerability could be used by attackers to escape outside the share root directory and possible access the global root directory ‘/’ with the help of a combination of incorrect configuration parameters and permissions.

    CVE assigned:


    CVSS v3.0 Severity and Metrics:
    Base Score: 9.1 CRITICAL

    CVSS v2.0 Severity and Metrics:
    Base Score: 6.4 MEDIUM 

    Affected Software:
    Samba versions 4.9.x up to 4.9.13, samba 4.10.x up to 4.10.8 and samba 4.11.x up to 4.11.0rc3


    To address this vulnerability, the vendor has released patches for the Samba package in all the platforms affected. For more information, please refer to our blog:

    Use SanerNow platform to apply this critical patch quickly across the organization as shown below.


    Vulnerability detection and patching of Samba:

    1. Login to SanerNow platform
    2. Switch to the account/site specific view and Go to 'VM tool'
    3. If your Application (Samba) is vulnerable, Saner lists CVE-2019-10197 in 'Top Vulnerabilities or 'Recently Discovered Vulnerabilities as shown in the below diagram:


    1. Search for this vulnerability in VM tool. If you are affected, apply the patch through PM -> Missing Patches.
    2. Select 'Groups/Devices in the 'Asset Source' section and click 'Apply'.
    3. Select the product 'samba' from the 'Asset' section as shown in the below diagram:


    1. Select ‘Apply Selected Patches’ at the rightmost corner. This will prompt for ‘Creating Patch Task’. Fill in ‘Task Name’ and ‘Remediation Schedule as per your preference and click on ‘Apply Selected Patches as shown below:


    1. Remediation job will be created, which will fix the vulnerabilities by upgrading Samba to the latest version.
    2. Once remediation is done, the Saner agent automatically scans again and uploads the result to SanerNow as shown below:


    Was this article helpful?
    0 out of 0 found this helpful