CVE-2022-3371 rdiffweb's lack of token name length limit can result in DoS or memory corruption

High 7.5 Published Updated

Attackers can cause denial of service or memory corruption in rdiffweb by submitting excessively long token names.

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

What is CVE-2022-3371?

CVE-2022-3371 is a high-severity denial of service vulnerability in ikus060/rdiffweb, published on 30 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Allocation of Resources Without Limits or Throttling in GitHub repository ikus060/rdiffweb prior to 2.5.0a3.

Weakness: CWE-770

Which versions are affected by CVE-2022-3371?

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

PackageAffectedFixed in
rdiffweb PyPIAll versions2.4.10
rdiffweb PyPIAll versions2.5.0a3
rdiffweb PyPIAll versions2.5.0a3

Products include Ikus-Soft Rdiffweb.

How do I fix CVE-2022-3371?

Upgrade rdiffweb to a fixed version for your release line: 2.4.10 or 2.5.0a3.

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-2022-3371 being exploited?

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

Sources

Also known as GHSA-3fhq-72hw-jqwv, PYSEC-2022-299.

Is CVE-2022-3371 in your software?

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

Check your SBOMs for free