Intel

AIKIDO-2024-10513

pprof is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Dec 5, 2024

35

Low Risk

This Affects:

rustpprof
0.1.0 - 0.13.0
Fixed in 0.14.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package misuse the unsafe std::slice::from_raw_parts API, breaking safety assumptions. In TempFdArrayIterator.next, a generic type can create and pass a misaligned pointer. Additionally, using c_void for address validation can expose uninitialized memory. These issues highlight the need for proper type checks before type conversions with unsafe APIs. Exploiting this vulnerability can cause a panic, potentially leading to a Denial of Service (DoS) in applications like greptimedb when using pprof::report::ReportBuilder::build or pprof::validate.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

pprof is vulnerable to Denial of Service (DoS) in versions 0.1.0 - 0.13.0.

How to fix this

Upgrade the pprof library to the patch version.