CVE-2021-26713 Memory corruption in n/a

Medium 6.5 Published Updated

An authenticated WebRTC client can crash Asterisk via a stack-based buffer overflow triggered by rapid hold/unhold requests.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-26713?

CVE-2021-26713 is a medium-severity memory corruption vulnerability in Digium Asterisk, published on 19 Feb 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A stack-based buffer overflow in res_rtp_asterisk.c in Sangoma Asterisk before 16.16.1, 17.x before 17.9.2, and 18.x before 18.2.1 and Certified Asterisk before 16.8-cert6 allows an authenticated WebRTC client to cause an Asterisk crash by sending multiple hold/unhold requests in quick succession. This is caused by a signedness comparison mismatch.

Weakness: CWE-787

Which versions are affected by CVE-2021-26713?

It affects 2 products.

Products include Digium Asterisk, Digium Certified Asterisk.

How do I fix CVE-2021-26713?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-26713 being exploited?

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

All Digium Asterisk vulnerabilities

Sources

Also known as ALPINE-CVE-2021-26713, GHSA-24f6-gm96-3c56, UBUNTU-CVE-2021-26713.

Is CVE-2021-26713 in your software?

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

Check your SBOMs for free