Back to CVE catalog

AI summary

Asterisk through 13.19.1, 14.x through 14.7.5, 15.x through 15.2.1 and Certified Asterisk through 13.18-cert2 contain a buffer overflow in the res_pjsip_pubsub module when handling SUBSCRIBE requests. The module does not limit the number of Accept headers it stores, despite a fixed limit of 32, so more than 32 such headers write outside memory and crash Asterisk.

Generated automatically from the source description. Check the sources below before acting.

CVE-2018-7284

Buffer overflow in Asterisk when processing a SUBSCRIBE request

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS summary v3.0

7.5High
Published:
Updated:
EPSS:
66.782%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:digiumasteriskAffected versions:
≥ 14.0.0, ≤ 14.7.5Show full version range for asterisk
≥ 15.0.0, ≤ 15.2.1≤ 13.19.1
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:Debiandebian linuxAffected versions:
9.0Show full version range for debian linux
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:digiumcertified asteriskAffected versions:
≤ 13.18Show full version range for certified asterisk
13.18
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–3 of 3 · Page 1 of 1

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE-2018-7284 · OSV (source-vector)7.5 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
None
Integrity
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories9

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences