CVE-2021-40516 Denial of service in n/a

High 7.5 Published Updated

Remote attackers can crash WeeChat via crafted WebSocket frames, causing a denial of service.

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-40516?

CVE-2021-40516 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 5 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

WeeChat before 3.2.1 allows remote attackers to cause a denial of service (crash) via a crafted WebSocket frame that trigger an out-of-bounds read in plugins/relay/relay-websocket.c in the Relay plugin.

Weakness: CWE-125

Which versions are affected by CVE-2021-40516?

It affects 2 products.

Linux distribution packages (2)
weechat SUSE:Package Hub 15 SP3All versions3.2.1-bp153.2.3.1
weechat openSUSE:Leap 15.3All versions3.2.1-bp153.2.3.1

Products include Debian Debian Linux, Weechat Weechat.

How do I fix CVE-2021-40516?

Upgrade to a fixed version.

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-2021-40516 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-40516, GHSA-82mm-45xg-j4xh, MGASA-2021-0466, UBUNTU-CVE-2021-40516, openSUSE-SU-2022:0083-1.

Is CVE-2021-40516 in your software?

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

Check your SBOMs for free