CVE-2024-47659 in the critical feed json
smack: tcp: ipv4, fix incorrect labeling
published 2024-10-09 2 y ago modified 2026-08-05 3 mo ago also EUVD-2024-42748
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
smack: tcp: ipv4, fix incorrect labeling
Currently, Smack mirrors the label of incoming tcp/ipv4 connections: when a label 'foo' connects to a label 'bar' with tcp/ipv4, 'foo' always gets 'foo' in returned ipv4 packets. So, 1) returned packets are incorrectly labeled ('foo' instead of 'bar') 2) 'bar' can write to 'foo' without being authorized to write.
Here is a scenario how to see this:
* Take two machines, let's call them C and S, with active Smack in the default state (no settings, no rules, no labeled hosts, only builtin labels)
* At S, add Smack rule 'foo bar w' (labels 'foo' and 'bar' are instantiated at S at this moment)
* At S, at label 'bar', launch a program that listens for incoming tcp/ipv4 connections
* From C, at label 'foo', connect to the listener at S. (label 'foo' is instantiated at C at this moment) Connection succeedes and works.
* Send some data in both directions. * Collect network traffic of this connection.
All packets in both directions are labeled with the CIPSO of the label 'foo'. Hence, label 'bar' writes to 'foo' without being authorized, and even without ever being known at C.
If anybody cares: exactly the same happens with DCCP.
This behavior 1st manifested in release 2.6.29.4 (see Fixes below) and it looks unintentional. At least, no explanation was provided.
I changed returned packes label into the 'bar', to bring it into line with the Smack documentation claims.
Patch / fix
- Linux Linux 4.19.322, 5.4.284, 5.10.226, 5.15.167, 6.1.109, 6.6.50, 6.10.9, 6.11
- linux Debian 12 6.1.112-1
- linux Debian 14, Debian 13 6.10.9-1
debian advisories DEBIAN-CVE-2024-47659
- linux Ubuntu 20.04 LTS 5.4.0-200.220
- linux Ubuntu 22.04 LTS 5.15.0-125.135
- linux Ubuntu 24.04 LTS 6.8.0-50.51
- linux-aws Ubuntu 20.04 LTS 5.4.0-1135.145
- linux-aws Ubuntu 22.04 LTS 5.15.0-1072.78
- linux-aws Ubuntu 24.04 LTS 6.8.0-1020.22
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1139.148
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1071.79
ubuntu advisories UBUNTU-CVE-2024-47659
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/d3f56c653c65f170b172d3c23120bc64ada645d8 commit
- git.kernel.org/stable/c/5b4b304f196c070342e32a4752e1fa2e22fc0671 commit
- git.kernel.org/stable/c/a948ec993541db4ef392b555c37a1186f4d61670 commit
- git.kernel.org/stable/c/0aea09e82eafa50a373fc8a4b84c1d4734751e2c commit
- git.kernel.org/stable/c/0776bcf9cb6de46fdd94d10118de1cf9b05f83b9 commit
- git.kernel.org/stable/c/4be9fd15c3c88775bdf6fa37acabe6de85beebff commit
- git.kernel.org/stable/c/d3703fa94116fed91f64c7d1c7d284fb4369070f commit
- git.kernel.org/stable/c/2fe209d0ad2e2729f7e22b9b31a86cc3ff0db550 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-47659 updated cvss 8.8
kernel: smack: tcp: ipv4, fix incorrect labeling
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-25-226-07 updated cvss 5.5
Siemens Third-Party Components in SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) < 3.2affected: fixed in V3.2 support.industry.siemens.com
-
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < 3.2affected: fixed in V3.2
-
Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family < 3.2affected: fixed in V3.2 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/d3f56c653c65f170b172d3c23120bc64ada645d8
patch
-
git.kernel.org
/stable/c/5b4b304f196c070342e32a4752e1fa2e22fc0671
patch
-
git.kernel.org
/stable/c/a948ec993541db4ef392b555c37a1186f4d61670
patch
-
git.kernel.org
/stable/c/0aea09e82eafa50a373fc8a4b84c1d4734751e2c
patch
-
git.kernel.org
/stable/c/0776bcf9cb6de46fdd94d10118de1cf9b05f83b9
patch
-
git.kernel.org
/stable/c/4be9fd15c3c88775bdf6fa37acabe6de85beebff
patch
-
git.kernel.org
/stable/c/d3703fa94116fed91f64c7d1c7d284fb4369070f
patch
-
git.kernel.org
/stable/c/2fe209d0ad2e2729f7e22b9b31a86cc3ff0db550
patch
- lists.debian.org /debian-lts-announce/2025/01/msg00001.html
Sources
- CVE List CVE-2024-47659
- NVD CVE-2024-47659
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.