CVE-2024-0193
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Summary
A use-after-free flaw was found in the netfilter subsystem of the Linux kernel. If the catchall element is garbage-collected when the pipapo set is removed, the element can be deactivated twice. This can cause a use-after-free issue on an NFT_CHAIN object or NFT_OBJECT object, allowing a local unprivileged user with CAP_NET_ADMIN capability to escalate their privileges on the system.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 9 | 0:5.14.0-362.24.1.el9_3 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:5.14.0-362.24.1.el9_3 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 0:5.14.0-70.105.1.el9_0 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 0:5.14.0-70.105.1.rt21.177.el9_0 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 0:5.14.0-284.55.1.el9_2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | 0:5.14.0-284.55.1.rt14.340.el9_2 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v5.8.6-22 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v5.8.6-11 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v6.8.1-407 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v5.8.6-19 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v1.0.0-479 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v5.8.6-7 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v0.4.0-247 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v5.8.6-5 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v1.1.0-227 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v5.8.1-470 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v2.9.6-14 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v5.8.6-2 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v5.8.6-24 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v5.8.6-10 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v0.1.0-525 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v0.1.0-224 < * | unaffected |
| Red Hat | RHOL-5.8-RHEL-9 | v0.28.1-56 < * | unaffected |
Weaknesses
- CWE-416: Use After Free
Workarounds
In order to trigger the issue, it requires the ability to create user/net namespaces.
On non-containerized deployments of Red Hat Enterprise Linux 8, you can disable user namespaces by setting user.max_user_namespaces to 0:
echo "user.max_user_namespaces=0" > /etc/sysctl.d/userns.conf
sysctl -p /etc/sysctl.d/userns.conf
On containerized deployments, such as Red Hat OpenShift Container Platform, do not use this mitigation as the functionality is needed to be enabled.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: total
CVE Program Container
Additional References
- https://access.redhat.com/errata/RHSA-2024:1018
- https://access.redhat.com/errata/RHSA-2024:1019
- https://access.redhat.com/errata/RHSA-2024:1248
- https://access.redhat.com/errata/RHSA-2024:2094
- https://access.redhat.com/errata/RHSA-2024:4412
- https://access.redhat.com/errata/RHSA-2024:4415
- https://access.redhat.com/security/cve/CVE-2024-0193
- https://bugzilla.redhat.com/show_bug.cgi?id=2255653
References
- https://access.redhat.com/errata/RHSA-2024:1018
- https://access.redhat.com/errata/RHSA-2024:1019
- https://access.redhat.com/errata/RHSA-2024:1248
- https://access.redhat.com/errata/RHSA-2024:2094
- https://access.redhat.com/errata/RHSA-2024:4412
- https://access.redhat.com/errata/RHSA-2024:4415
- https://access.redhat.com/security/cve/CVE-2024-0193
- https://bugzilla.redhat.com/show_bug.cgi?id=2255653
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.