CVE-2023-53179
netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
Check your servers for CVE-2023-53179
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53179 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
The missing IP_SET_HASH_WITH_NET0 macro in ip_set_hash_netportnet can lead to the use of wrong `CIDR_POS(c)` for calculating array offsets, which can lead to integer underflow. As a result, it leads to slab out-of-bound access. This patch adds back the IP_SET_HASH_WITH_NET0 macro to ip_set_hash_netportnet to address the issue.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.74% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 0d5d0b5c41f766355f2b42c47d13ea001f754c7d, before 7935b636dd693dfe4483cfef4a1e91366c8103fa affected from cb3e590df429ce151d5041884a4947099b8ad6a7, before e632d09dffc68b9602d6893a99bfe3001d36cefc affected from 886503f34d63e681662057448819edb5b1057a97, before 109e830585e89a03d554bf8ad0e668630d0a6260 affected from 886503f34d63e681662057448819edb5b1057a97, before 83091f8ac03f118086596f17c9a52d31d6ca94b3 affected from 886503f34d63e681662057448819edb5b1057a97, before a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14 affected from 886503f34d63e681662057448819edb5b1057a97, before 7ca0706c68adadf86a36b60dca090f5e9481e808 affected from 886503f34d63e681662057448819edb5b1057a97, before d59b6fc405549f7caf31f6aa5da1d6bef746b166 affected from 886503f34d63e681662057448819edb5b1057a97, before d95c8420efe684b964e3aa28108e9a354bcd7225 affected from 886503f34d63e681662057448819edb5b1057a97, before 050d91c03b28ca479df13dfb02bcd2c60dd6a878 affected 186642845b02e1a7944ef33c3a3ac41eba77517f affected 919560afc21f91ca352a20394d5249aba1799690 affected from 4.14.84, before 4.14.326 affected from 4.19.5, before 4.19.295 affected from 4.4.165, before 4.5 affected from 4.9.141, before 4.10
Other versions: unaffected
|
| Linux |
affected 4.20 unaffected before 4.20 unaffected from 4.14.326 up to and including 4.14.* unaffected from 4.19.295 up to and including 4.19.* unaffected from 5.4.257 up to and including 5.4.* unaffected from 5.10.195 up to and including 5.10.* unaffected from 5.15.132 up to and including 5.15.* unaffected from 6.1.53 up to and including 6.1.* unaffected from 6.4.16 up to and including 6.4.* unaffected from 6.5.3 up to and including 6.5.* unaffected 6.6 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53179 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53179
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-53179
trivy image --scanners vuln IMAGE | grep CVE-2023-53179
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/7935b636dd693dfe4483cfef4a1e91366c8103fa git.kernel.org
- https://git.kernel.org/stable/c/e632d09dffc68b9602d6893a99bfe3001d36cefc git.kernel.org
- https://git.kernel.org/stable/c/109e830585e89a03d554bf8ad0e668630d0a6260 git.kernel.org
- https://git.kernel.org/stable/c/83091f8ac03f118086596f17c9a52d31d6ca94b3 git.kernel.org
- https://git.kernel.org/stable/c/a9e6142e5f8f6ac7d1bca45c1b2b13b084ea9e14 git.kernel.org
- https://git.kernel.org/stable/c/7ca0706c68adadf86a36b60dca090f5e9481e808 git.kernel.org
- https://git.kernel.org/stable/c/d59b6fc405549f7caf31f6aa5da1d6bef746b166 git.kernel.org
- https://git.kernel.org/stable/c/d95c8420efe684b964e3aa28108e9a354bcd7225 git.kernel.org
- https://git.kernel.org/stable/c/050d91c03b28ca479df13dfb02bcd2c60dd6a878 git.kernel.org
Source: the record CVE-2023-53179 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse