Menu

Star on GitHub · 3.2k

CVE-2021-47366

7.1 · HIGH

In the Linux kernel, the following vulnerability has been resolved: afs: Fix corruption in reads at fpos 2G-4G from an OpenAFS server AFS-3 has two data fetch RPC variants, FS.FetchData and FS.Fe…

Published May 21, 2024CWE-787EPSS 0.21%

Overview

CVE-2021-47366 is a high-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

afs: Fix corruption in reads at fpos 2G-4G from an OpenAFS server

AFS-3 has two data fetch RPC variants, FS.FetchData and FS.FetchData64, and

Linux's afs client switches between them when talking to a non-YFS server

if the read size, the file position or the sum of the two have the upper 32

bits set of the 64-bit value.

This is a problem, however, since the file position and length fields of

FS.FetchData are *signed* 32-bit values.

Fix this by capturing the capability bits obtained from the fileserver when

it's sent an FS.GetCapabilities RPC, rather than just discarding them, and

then picking out the VICED_CAPABILITY_64BITFILES flag. This can then be

used to decide whether to use FS.FetchData or FS.FetchData64 - and also

FS.StoreData or FS.StoreData64 - rather than using upper_32_bits() to

switch on the parameter values.

This capabilities flag could also be used to limit the maximum size of the

file, but all serv

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2021-47366?

CVE-2021-47366 is a high-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2021-47366?

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

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

Check the references section for vendor advisories, patches, and mitigation guidance. 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-47366?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47366 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2021

View all