CVE-2024-10397
Linux Debian vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2024-10397) was discovered in OpenAFS affecting versions 1.0 through 1.6.24, 1.8.0 through 1.8.12.2, and 1.9.0 through 1.9.1. The vulnerability allows a malicious server to crash the OpenAFS cache manager and other client utilities, with the potential for arbitrary code execution. The issue was disclosed on November 12, 2024, and involves preallocated buffer overflows in XDR responses (OpenAFS Advisory).

Technical details

The vulnerability stems from RPCs in OpenAFS that return dynamically-sized strings, buffers, and arrays in output arguments. The XDR-marshalling routines fail to verify if the supplied memory is adequate for storing results. When callers provide preallocated buffers smaller than the RPC interface-defined limit, server responses exceeding the buffer capacity can trigger buffer overflows. The vulnerability has received a CVSS 4.0 score of 7.7 (HIGH) with the vector string CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N (OpenAFS Advisory).

Impact

The impact varies based on local configuration. For Unix cache managers, the vulnerability can result in kernel crashes or potential arbitrary code execution in kernel mode. On Solaris kernel clients, it can trigger system panics or memory corruption. Utility programs like 'pts' and 'vos' are also vulnerable to buffer overflows. The vulnerability is particularly concerning when the afsd daemon runs with '-afsdb -dynroot' options, allowing unprivileged local users to contact malicious cells via /afs/ (OpenAFS Advisory).

Mitigation and workarounds

The OpenAFS project recommends upgrading all affected clients and utilities to OpenAFS version 1.6.25 or 1.8.13. For those unable to upgrade, security patches are available. Additional mitigation strategies include running afsd without the -dynroot/-dynroot-sparse options to prevent exploitation by unprivileged processes, and disabling the -afsdb option to prevent exploitation by local processes (OpenAFS Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management