QID 355632

Date Published: 2023-07-24

QID 355632: Amazon Linux Security Advisory for kernel : ALAS2023-2023-251

A use-after-free flaw was found in the netfilter subsystem of the linux kernel when processing named and anonymous sets in batch requests, which can lead to performing arbitrary reads and writes in kernel memory.
This flaw allows a local user with cap_net_admin capability to crash or potentially escalate their privileges on the system. (
( CVE-2023-3117) linux kernel nftables use-after-free local privilege escalation vulnerability; `nft_chain_lookup_byid()` failed to check whether a chain was active and cap_net_admin is in any user or network namespace (cve-2023-31248) a use-after-free vulnerability was found in the linux kernel's netfilter subsystem in net/netfilter/nf_tables_api.c. mishandled error handling with nft_msg_newrule makes it possible to use a dangling pointer in the same transaction causing a use-after-free vulnerability.
This flaw allows a local attacker with user access to cause a privilege escalation issue. we recommend upgrading past commit 1240eb93f0616b21c675416516ff3d74798fdc97. (
( CVE-2023-3390) linux kernel nftables out-of-bounds read/write vulnerability; nft_byteorder poorly handled vm register contents when cap_net_admin is in any user or network namespace (cve-2023-35001)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-251 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355632

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-251 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-251.html