<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T13:30:02.527440+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2024-43882</id>
    <title>CVE-2024-43882 — exec: Fix ToCToU between perm check and set-uid/gid usage</title>
    <updated>2026-09-29T13:30:02.529811+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux, Siemens RUGGEDCOM RST2428P, Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family, Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>exec: Fix ToCToU between perm check and set-uid/gid usage</p>
<p>When opening a file for exec via do_filp_open(), permission checking is
done against the file's metadata at that moment, and on success, a file
pointer is passed back. Much later in the execve() code path, the file
metadata (specifically mode, uid, and gid) is used to determine if/how
to set the uid and gid. However, those values may have changed since the
permissions check, meaning the execution may gain unintended privileges.</p>
<p>For example, if a file could change permissions from executable and not
set-id:</p>
<p>---------x 1 root root 16048 Aug  7 13:16 target</p>
<p>to set-id and non-executable:</p>
<p>---S------ 1 root root 16048 Aug  7 13:16 target</p>
<p>it is possible to gain root privileges when execution should have been
disallowed.</p>
<p>While this race condition is rare in real-world scenarios, it has been
observed (and proven exploitable) when package managers are updating
the setuid bits of installed programs. Such files start with being
world-executable but then are adjusted to be group-exec with a set-uid
bit. For example, "chmod o-x,u+s target" makes "target" executable only
by uid "root" and gid "cdrom", while also becoming setuid-root:</p>
<p>-rwxr-xr-x 1 root cdrom 16048 Aug  7 13:16 target</p>
<p>becomes:</p>
<p>-rwsr-xr-- 1 root cdrom 16048 Aug  7 13:16 target</p>
<p>But racing the chmod means users without group "cdrom" membership can
get the permission to execute "target" just b…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2024-43882"/>
  </entry>
</feed>
