CVE-2020-25340 NFStream Local Denial of Service (DoS)

Medium 5.5 Published Updated

A memory leak in NFStream allows local attackers to cause denial of service by creating and destroying unused objects.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-25340?

CVE-2020-25340 is a medium-severity denial of service vulnerability in n/a, published on 16 Feb 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in NFStream 5.2.0. Because some allocated modules are not correctly freed, if the nfstream object is directly destroyed without being used after it is created, it will cause a memory leak that may result in a local denial of service (DoS).

Weakness: CWE-401

Which versions are affected by CVE-2020-25340?

3 open source packages ship an affected version, including nfstream. It affects 1 product.

PackageAffectedFixed in
nfstream PyPIAll versionsNone
nfstream PyPIAll versionsNone
nfstream PyPIAll versions6.0.0

Products include Nfstream Nfstream.

How do I fix CVE-2020-25340?

Upgrade nfstream to 6.0.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2020-25340 being exploited?

There is no known exploitation of CVE-2020-25340 in the wild and no public exploit code.

Sources

Also known as GHSA-whmq-cfm5-j8mj, PYSEC-2021-68.

Is CVE-2020-25340 in your software?

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

Check your SBOMs for free