<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Cpe:2.3:a:mozilla:sccache:*:*:*:*:*:*:*:* - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/cpes/cpe2.3amozillasccache/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 20 Oct 2026 01:30:28 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/cpes/cpe2.3amozillasccache/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Arbitrary Code Execution in Mozilla Sccache via LD_PRELOAD</title><link>https://feed.craftedsignal.io/briefs/2026-10-cve-2023-1521/</link><pubDate>Tue, 20 Oct 2026 01:30:28 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-cve-2023-1521/</guid><description>Mozilla Sccache versions prior to 0.4.0 are vulnerable to arbitrary code execution due to improper handling of the LD_PRELOAD environment variable when invoking compilers.</description><content:encoded><![CDATA[<p>CVE-2023-1521 is a high-severity vulnerability affecting Mozilla Sccache versions earlier than 0.4.0. The vulnerability resides in how the compiler cache utility handles environment variables during the process of invoking a compiler. Specifically, Sccache improperly respects the LD_PRELOAD environment variable when spawning compiler subprocesses. By leveraging this behavior, an attacker with local access to the system can point LD_PRELOAD to a malicious shared library. When Sccache executes a compiler command, it inadvertently loads the attacker-supplied library into the memory space of the compiler process. This mechanism facilitates arbitrary code execution with the privileges of the user running the Sccache utility, potentially leading to privilege escalation if the utility is executed by a high-privilege account or within a continuous integration pipeline.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker gains local access to a system where Mozilla Sccache (&lt; 0.4.0) is installed.</li>
<li>Attacker crafts a malicious shared library (e.g., libpoc.so) containing the payload to be executed.</li>
<li>Attacker sets the LD_PRELOAD environment variable to the file path of the malicious shared library.</li>
<li>Attacker invokes the sccache command (e.g., 'sccache gcc foo.c -o foo') while the environment variable is active.</li>
<li>Sccache initiates the compiler subprocess (e.g., gcc).</li>
<li>The dynamic linker loads the malicious shared library into the compiler process due to the LD_PRELOAD directive.</li>
<li>The malicious code within the library executes within the context of the compiler process.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for arbitrary code execution on the target system. This poses a significant risk to development environments, build servers, and CI/CD pipelines using older versions of Sccache, potentially leading to unauthorized access, exfiltration of credentials or source code, and persistence within the build infrastructure.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritize the upgrade of Mozilla Sccache to version 0.4.0 or later to mitigate the vulnerability. Since exploitation requires local access, security teams should focus on monitoring for suspicious compiler invocations and unexpected library loads.</p>
<ul>
<li>Upgrade all instances of Mozilla Sccache to version 0.4.0 or newer immediately.</li>
<li>Implement process monitoring on build servers to detect instances of 'sccache' being invoked with unusual environment variables or unexpected shared object (.so) files being loaded by compilers.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>vulnerability</category><category>code-execution</category><category>build-security</category></item></channel></rss>