Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-22021

10.0 · CRITICAL
Published Apr 16, 2025 linux EPSS 0.44% (37th pctl)

Overview

CVE-2025-22021 is a critical-severity vulnerability affecting linux linux_kernel. It was published on April 16, 2025 and has a CVSS 3.1 base score of 10.0 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 10.0, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: socket: Lookup orig tuple for IPv6 SNAT

nf_sk_lookup_slow_v4 does the conntrack lookup for IPv4 packets to

restore the original 5-tuple in case of SNAT, to be able to find the

right socket (if any). Then socket_match() can correctly check whether

the socket was transparent.

However, the IPv6 counterpart (nf_sk_lookup_slow_v6) lacks this

conntrack lookup, making xt_socket fail to match on the socket when the

packet was SNATed. Add the same logic to nf_sk_lookup_slow_v6.

IPv6 SNAT is used in Kubernetes clusters for pod-to-world packets, as

pods' addresses are in the fd00::/8 ULA subnet and need to be replaced

with the node's external address. Cilium leverages Envoy to enforce L7

policies, and Envoy uses transparent sockets. Cilium inserts an iptables

prerouting rule that matches on `-m socket --transparent` and redirects

the packets to localhost, but it fails to match SNATed IPv6 packets due

to that missin

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 3.13, < 5.4.292 Affected

Frequently Asked Questions

What is CVE-2025-22021?

CVE-2025-22021 is a critical-severity vulnerability affecting linux linux_kernel. It was published on April 16, 2025 and has a CVSS 3.1 base score of 10.0 (CRITICAL).

How severe is CVE-2025-22021?

This vulnerability has a CVSS 3.1 base score of 10.0, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-22021?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-22021?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-22021 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.