CVE-2024-29868 Apache StreamPipes: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Recovery Token Generation

Critical 9.1 Published Updated

Attackers can guess weak recovery tokens to take over user accounts in Apache StreamPipes due to insecure random number generation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-29868?

CVE-2024-29868 is a critical vulnerability in Apache StreamPipes, published on 24 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) vulnerability in Apache StreamPipes user self-registration and password recovery mechanism. This allows an attacker to guess the recovery token in a reasonable time and thereby to take over the attacked user's account. This issue affects Apache StreamPipes: from 0.69.0 through 0.93.0.

Users are recommended to upgrade to version 0.95.0, which fixes the issue.

Weakness: CWE-338

Which versions are affected by CVE-2024-29868?

2 open source packages ship an affected version, including org.apache.streampipes:streampipes-resource-management. It affects 1 product.

PackageAffectedFixed in
org.apache.streampipes:streampipes-resource-management MavenFrom 0.69.00.95.0
org.apache.streampipes:streampipes-resource-management MavenFrom 0.69.00.95.0

Products include Apache Streampipes.

How do I fix CVE-2024-29868?

Upgrade org.apache.streampipes:streampipes-resource-management to 0.95.0 or later.

Is CVE-2024-29868 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-29868 exists.

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-cf3q-vg8w-mw84.

Is CVE-2024-29868 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free