#VU80466 Code Injection in sccache


Vulnerability identifier: #VU80466

Vulnerability risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-1521

CWE-ID: CWE-94

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
sccache
Universal components / Libraries / Libraries used by multiple products

Vendor: Mozilla

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to the way the server handles compile request. A local user can execute arbitrary code with the privileges of a local sccache server by preloading the code in a shared library passed to LD_PRELOAD.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

sccache: 0.1.0 - 0.3.3


External links
http://securitylab.github.com/advisories/GHSL-2023-046_ScCache/
http://github.com/mozilla/sccache/commit/098ab804ad6cfe6236a45ab695e9d500b61f1614.patch
http://github.com/mozilla/sccache/releases/tag/v0.4.0


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability