CVE-2018-7284: Buffer Overflow

Published Feb 22, 2018
·
Updated

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 respjsippubsub 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.

Affected Software

9 affected componentsFixes available
debian/asterisk
1:16.2.1~dfsg-1+deb10u21:16.28.0~dfsg-0+deb10u31:16.28.0~dfsg-0+deb11u31:20.4.0~dfsg+~cs6.13.40431414-2
debian/asterisk<=1:13.14.1~dfsg-1, <=1:13.18.5~dfsg-1
1:13.20.0~dfsg-11:13.14.1~dfsg-2+deb9u4
Digium Asterisk<=13.19.1
Digium Asterisk>=14.0.0<=14.7.5
Digium Asterisk>=15.0.0<=15.2.1
Digium Certified Asterisk=13.18-cert1
Digium Certified Asterisk=13.18-cert2
Digium Certified Asterisk<=13.18
Debian Debian Linux=9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:16.2.1~dfsg-1+deb10u2Fixed in 1:16.28.0~dfsg-0+deb10u3Fixed in 1:16.28.0~dfsg-0+deb11u3Fixed in 1:20.4.0~dfsg+~cs6.13.40431414-2
  2. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:13.20.0~dfsg-1Fixed in 1:13.14.1~dfsg-2+deb9u4
  3. Upgrade

    Upgrade Asterisk to a version that resolves this vulnerability.

    Fixed in 13.19.1
  4. Upgrade

    Upgrade Asterisk to a version that resolves this vulnerability.

    Fixed in 14.7.5
  5. Upgrade

    Upgrade Asterisk to a version that resolves this vulnerability.

    Fixed in 15.2.1
  6. Upgrade

    Upgrade Certified Asterisk to a version that resolves this vulnerability.

    Fixed in 13.18-cert2
  7. Configuration

    Ensure the res_pjsip_pubsub SUBSCRIBE request handling limits the number of Accept headers processed to 32 (the fixed limit mentioned in the advisory) to avoid processing more than 32 Accept headers, which can trigger the buffer overflow.

    Asterisk (res_pjsip_pubsub) Maximum Accept headers processed for SUBSCRIBE = 32

Event History

Feb 22, 2018
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·12:29 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2018-7284.

2

What is the severity of CVE-2018-7284?

The severity of CVE-2018-7284 is high.

3

Which software versions are affected by CVE-2018-7284?

Asterisk versions through 13.19.1, 14.x through 14.7.5, 15.x through 15.2.1, and Certified Asterisk through 13.18-cert2 are affected by CVE-2018-7284.

4

How can I fix CVE-2018-7284?

To fix CVE-2018-7284, it is recommended to update to the appropriate patched versions of Asterisk or Certified Asterisk as mentioned in the references.

5

Where can I find more information about CVE-2018-7284?

More information about CVE-2018-7284 can be found in the references provided: http://downloads.asterisk.org/pub/security/AST-2018-004.html, http://www.securityfocus.com/bid/103151, http://www.securitytracker.com/id/1040416.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203