CVE-2021-40540 Null dereference in n/a

Critical 9.8 Published Updated

A null pointer dereference in the Ulfius HTTP Framework allows attackers to cause a denial of service via malformed HTTP requests.

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

What is CVE-2021-40540?

CVE-2021-40540 is a critical vulnerability in n/a, published on 7 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ulfius_uri_logger in Ulfius HTTP Framework before 2.7.4 omits con_info initialization and a con_info->request NULL check for certain malformed HTTP requests.

Which versions are affected by CVE-2021-40540?

It affects 1 product.

Linux distribution packages (1)
ulfius openSUSE:TumbleweedAll versions2.7.4-1.2

Products include Ulfius Project Ulfius.

How do I fix CVE-2021-40540?

Upgrade to a fixed version.

Is CVE-2021-40540 being exploited?

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

Sources

Also known as DEBIAN-CVE-2021-40540, GHSA-jr28-h3mc-x46r, UBUNTU-CVE-2021-40540, openSUSE-SU-2024:11481-1.

Is CVE-2021-40540 in your software?

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

Check your SBOMs for free