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-2021-47515

7.5 · HIGH
Published May 24, 2024 linux CWE-476 EPSS 0.75% (52th pctl)

Overview

CVE-2021-47515 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 24, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. 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:

seg6: fix the iif in the IPv6 socket control block

When an IPv4 packet is received, the ip_rcv_core(...) sets the receiving

interface index into the IPv4 socket control block (v5.16-rc4,

net/ipv4/ip_input.c line 510):

IPCB(skb)->iif = skb->skb_iif;

If that IPv4 packet is meant to be encapsulated in an outer IPv6+SRH

header, the seg6_do_srh_encap(...) performs the required encapsulation.

In this case, the seg6_do_srh_encap function clears the IPv6 socket control

block (v5.16-rc4 net/ipv6/seg6_iptunnel.c line 163):

memset(IP6CB(skb), 0, sizeof(*IP6CB(skb)));

The memset(...) was introduced in commit ef489749aae5 ("ipv6: sr: clear

IP6CB(skb) on SRH ip4ip6 encapsulation") a long time ago (2019-01-29).

Since the IPv6 socket control block and the IPv4 socket control block share

the same memory area (skb->cb), the receiving interface index info is lost

(IP6CB(skb)->iif is set to zero).

As a side effect, that co

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 >= 4.14.98, < 4.14.258 Affected

Frequently Asked Questions

What is CVE-2021-47515?

CVE-2021-47515 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 24, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2021-47515?

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

How do I fix or remediate CVE-2021-47515?

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-2021-47515?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-47515 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.