<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202311-05">
    <title>LinuxCIFS utils: Multiple Vulnerabilities</title>
    <synopsis>Multiple vulnerabilities have been discovered in LinuxCIFS utils, the worst of which can lead to local root privilege escalation.</synopsis>
    <product type="ebuild">cifs-utils</product>
    <announced>2023-11-24</announced>
    <revised count="1">2023-11-24</revised>
    <bug>842234</bug>
    <access>local</access>
    <affected>
        <package name="net-fs/cifs-utils" auto="yes" arch="*">
            <unaffected range="ge">6.15</unaffected>
            <vulnerable range="lt">6.15</vulnerable>
        </package>
    </affected>
    <background>
        <p>The LinuxCIFS utils are a collection of tools for managing Linux CIFS Client Filesystems.</p>
    </background>
    <description>
        <p>Multiple vulnerabilities have been discovered in LinuxCIFS utils. Please review the CVE identifiers referenced below for details.</p>
    </description>
    <impact type="high">
        <p>A stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.

When verbose logging is enabled, invalid credentials file lines may be dumped to stderr. This may lead to information disclosure in particular conditions when the credentials file given is sensitive and contains &#39;=&#39; signs.</p>
    </impact>
    <workaround>
        <p>There is no known workaround at this time.</p>
    </workaround>
    <resolution>
        <p>All LinuxCIFS utils users should upgrade to the latest version:</p>
        
        <code>
          # emerge --sync
          # emerge --ask --oneshot --verbose ">=net-fs/cifs-utils-6.15"
        </code>
    </resolution>
    <references>
        <uri link="https://nvd.nist.gov/vuln/detail/CVE-2022-27239">CVE-2022-27239</uri>
        <uri link="https://nvd.nist.gov/vuln/detail/CVE-2022-29869">CVE-2022-29869</uri>
    </references>
    <metadata tag="requester" timestamp="2023-11-24T14:19:44.552258Z">graaff</metadata>
    <metadata tag="submitter" timestamp="2023-11-24T14:19:44.554584Z">graaff</metadata>
</glsa>