CVE-2018-7284 Memory corruption in n/a

High 7.5 Published Updated

A buffer overflow in Asterisk's res_pjsip_pubsub module allows remote attackers to cause a denial of service via crafted SUBSCRIBE requests with excessive Accept headers.

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

What is CVE-2018-7284?

CVE-2018-7284 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 22 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Buffer Overflow issue was discovered in Asterisk through 13.19.1, 14.x through 14.7.5, and 15.x through 15.2.1, and Certified Asterisk through 13.18-cert2. When processing a SUBSCRIBE request, the res_pjsip_pubsub module stores the accepted formats present in the Accept headers of the request. This code did not limit the number of headers it processed, despite having a fixed limit of 32. If more than 32 Accept headers were present, the code would write outside of its memory and cause a crash.

Weakness: CWE-119

Which versions are affected by CVE-2018-7284?

It affects 3 products.

Products include Debian Debian Linux, Digium Asterisk, Digium Certified Asterisk.

How do I fix CVE-2018-7284?

Apply the vendor's patch.

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

Is CVE-2018-7284 being exploited?

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

Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-7284, GHSA-h9x3-h6rr-35ww, UBUNTU-CVE-2018-7284.

Is CVE-2018-7284 in your software?

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

Check your SBOMs for free