CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (7.8) in GNU GNU C Library. In CISA KEV since 2023-11-21. EPSS 64% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExplain CVE-2023-4911 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-4911?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-4911?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-4911 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Fixed in |
|---|---|
| Red Hat Enterprise Linux 8 | 0:2.28-225.el8_8.6 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | 0:2.28-189.6.el8_6 |
| Red Hat Enterprise Linux 9 | 0:2.34-60.el9_2.7 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | 0:2.34-28.el9_0.4 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | 0:2.28-189.6.el8_6 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | 0:4.5.3-10.el8ev |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | 0:4.5.3-202312060823_8.6 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | glibc | 2.31-13+deb11u7 | DSA-5514-1 |
| Debian | 12 | glibc | 2.36-9+deb12u3 | DEBIAN-CVE-2023-4911 DSA-5514-1 |
| Debian | 13, 14 | glibc | 2.37-12 | DEBIAN-CVE-2023-4911 |
| Ubuntu | 22.04:LTS | glibc | 2.35-0ubuntu3.4 | UBUNTU-CVE-2023-4911 USN-6409-1 |
| Ubuntu | 24.04:LTS | glibc | 2.38-1ubuntu6 | UBUNTU-CVE-2023-4911 |
| Red Hat | enterprise_linux:8::appstream | glibc-utils, nscd-debuginfo, glibc-debuginfo and 10 more | 0:2.28-225.el8_8.6 | RHSA-2023:5455 |
| Red Hat | enterprise_linux:8::baseos | nscd, glibc, libnsl and 216 more | 0:2.28-225.el8_8.6 | RHSA-2023:5455 |
| Red Hat | enterprise_linux:8::crb | nss_hesiod, glibc-static, nscd-debuginfo and 12 more | 0:2.28-225.el8_8.6 | RHSA-2023:5455 |
| Red Hat | enterprise_linux:9::appstream | glibc-doc, glibc-devel, glibc-utils and 12 more | 0:2.34-60.el9_2.7 | RHSA-2023:5453 |
| Red Hat | enterprise_linux:9::baseos | nscd, glibc, libnsl and 212 more | 0:2.34-60.el9_2.7 | RHSA-2023:5453 |
| Red Hat | enterprise_linux:9::crb | nss_db, nss_hesiod, glibc-static and 12 more | 0:2.34-60.el9_2.7 | RHSA-2023:5453 |
| Red Hat | rhel_eus:8.6::appstream | glibc-utils, nscd-debuginfo, glibc-debuginfo and 9 more | 0:2.28-189.6.el8_6 | RHSA-2023:5476 |
| Red Hat | rhel_eus:8.6::baseos | nscd, glibc, libnsl and 215 more | 0:2.28-189.6.el8_6 | RHSA-2023:5476 |
| Red Hat | rhel_eus:8.6::crb | nss_hesiod, glibc-static, nscd-debuginfo and 11 more | 0:2.28-189.6.el8_6 | RHSA-2023:5476 |
| Red Hat | rhel_eus:9.0::appstream | glibc-doc, glibc-devel, glibc-utils and 12 more | 0:2.34-28.el9_0.4 | RHSA-2023:5454 |
| Red Hat | rhel_eus:9.0::baseos | nscd, glibc, libnsl and 212 more | 0:2.34-28.el9_0.4 | RHSA-2023:5454 |
| Red Hat | rhel_eus:9.0::crb | nss_db, nss_hesiod, glibc-static and 12 more | 0:2.34-28.el9_0.4 | RHSA-2023:5454 |
| 3 more for Red Hat in the JSON and on Red Hat's page. | ||||
| openSUSE | Tumbleweed | glibc | 2.38-4.1 | openSUSE-SU-2024:13294-1 |
| AlmaLinux | 8 | nscd, glibc, libnsl and 211 more | 2.28-225.el8_8.6 | ALSA-2023:5455 |
| AlmaLinux | 9 | nscd, glibc, libnsl and 212 more | 2.34-60.el9_2.7 | ALSA-2023:5453 |
| Rocky Linux | 8 | glibc | 0:2.28-225.el8_8.6 | RLSA-2023:5455 |
| Azure Linux | 2 | glibc | 2.35-5 | AZL-31117 |
| Azure Linux | 3 | glibc | 2.38-6 | AZL-34733 |
| Alpaquita | 23, stream | glibc | 2.37.0-r6 | BELL-CVE-2023-4911 |
| BellSoft Hardened Containers | 23, stream | glibc | 2.37.0-r6 | BELL-CVE-2023-4911 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpaquita · BellSoft Hardened Containers.
Red Hat rates this Important.
This vulnerability was introduced in glibc version 2.34. RHEL-8 ships glibc 2.28, which is not originally affected by this vulnerability. However, the commit that introduced this vulnerability was backported to RHEL-8.5, making this version and onward vulnerable. RHEL-8.4 and older are not affected by this vulnerability.
For customers who cannot update immediately and do not have Secure Boot feature enabled, the issue can be mitigated using the provided SystemTap script with the following steps. When enabled, any setuid program invoked with GLIBC_TUNABLES in the environment will be terminated immediately. To invoke the setuid program, users will then have to unset or clear the GLIBC_TUNABLES envvar, e.g. `GLIBC_TUNABLES= sudo` .
Note that these mitigation steps will need to be repeated if the system is rebooted.
1) Install required systemtap packages and dependencies as per - https://access.redhat.com/solutions/5441
2) Create the following systemtap script, and name it stap_block_suid_tunables.stp:
~~~
function has_tunable_string:long()
{
name = "GLIBC_TUNABLES"
mm = @task(task_current())->mm;
if (mm)
{
env_start = @mm(mm)->env_start;
env_end = @mm(mm)->env_end;
if (env_start != 0 && env_end != 0)
while (env_end > env_start)
{
cur = user_string(env_start, "");
env_name = tokenize(cur, "=");
if (env_name == name && tokenize("", "") != "")
return 1;
env_start += strlen (cur) + 1
}
}
return 0;
}
probe process("/lib*/ld*.so*").function("__tunables_init")
{
atsecure = 0;
/* Skip processing if we can't read __libc_enable_secure, e.g. core dump
handler (systemd-cgroups-agent and systemd-coredump). */
try { atsecure = @var("__libc_enable_secure"); }
catch { printk (4, sprintf ("CVE-2023-4911: Skipped check: %s (%d)", execname(), pid())); }
if (atsecure && has_tunable_string ())
raise (9);
}
~~~
3) Load the systemtap module into the running kernel:
~~~
stap -g -F -m stap_block_suid_tunables stap_block_suid_tunables.stp
~~~
4) Ensure the module is loaded:
~~~
lsmod | grep -i stap_block_suid_tunables
stap_block_suid_tunables 249856 0
~~~
5) Once the glibc package is updated to the version containing the fix, the systemtap generated kernel module can be removed by running:
~~~
rmmod stap_block_suid_tunables
~~~
If Secure Boot is enabled on a system, the SystemTap module must be signed. An external compiling server can be used to sign the generated kernel module with a key enrolled into the kernel's keyring or starting with SystemTap 4.7 you can sign a module without a compile server. See further information here - https://www.redhat.com/sysadmin/secure-boot-systemtap
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | glibc-0:2.28-225.el8_8.6 | Fixed 2023-10-05 | RHSA-2023:5455 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | glibc-0:2.28-189.6.el8_6 | Fixed 2023-10-05 | RHSA-2023:5476 |
| Red Hat Enterprise Linux 9 | glibc-0:2.34-60.el9_2.7 | Fixed 2023-10-05 | RHSA-2023:5453 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | glibc-0:2.34-28.el9_0.4 | Fixed 2023-10-05 | RHSA-2023:5454 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | glibc-0:2.28-189.6.el8_6 | Fixed 2023-10-05 | RHSA-2023:5476 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | redhat-release-virtualization-host-0:4.5.3-10.el8ev | Fixed 2024-01-03 | RHSA-2024:0033 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | redhat-virtualization-host-0:4.5.3-202312060823_8.6 | Fixed 2024-01-03 | RHSA-2024:0033 |
| Red Hat Enterprise Linux 6 | glibc | Not affected | |
| Red Hat Enterprise Linux 7 | compat-glibc | Not affected | |
| Red Hat Enterprise Linux 7 | glibc | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-4911.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-25-162-05 | Siemens SIMATIC S7-1500 CPU family | 2025-06-10 | Energy | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more | none listed |
| ICSA-23-166-10 | Siemens SIMATIC S7-1500 TM MFP BIOS | 2023-06-13 | Multiple | SIMATIC S7-1500 TM MFP - BIOS | none listed |
| ICSA-23-166-11 | Siemens SIMATIC S7-1500 TM MFP Linux Kernel | 2023-06-13 | Multiple | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.