CVE-2018-7285: Null Pointer Dereference

Published Feb 22, 2018
·
Updated

A NULL pointer access issue was discovered in Asterisk 15.x through 15.2.1. The RTP support in Asterisk maintains its own registry of dynamic codecs and desired payload numbers. While an SDP negotiation may result in a codec using a different payload number, these desired ones are still stored internally. When an RTP packet was received, this registry would be consulted if the payload number was not found in the negotiated SDP. This registry was incorrectly consulted for all packets, even those which are dynamic. If the payload number resulted in a codec of a different type than the RTP stream (for example, the payload number resulted in a video codec but the stream carried audio), a crash could occur if no stream of that type had been negotiated. This was due to the code incorrectly assuming that a stream of that type would always exist.

Affected Software

2 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
Asterisk>=15.0.0<=15.2.1

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

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

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

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

2

What is the severity of CVE-2018-7285?

CVE-2018-7285 has a severity rating of 7.5 (high).

3

Which software is affected by CVE-2018-7285?

Asterisk versions 15.x through 15.2.1 and Digium Asterisk are affected by CVE-2018-7285.

4

How can I mitigate CVE-2018-7285?

To mitigate CVE-2018-7285, update to the following versions: Asterisk 15.x through 15.2.1 should be updated to version 1:16.2.1~dfsg-1+deb10u2 or later, Digium Asterisk should be updated to a version later than 15.2.1.

5

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

More information about CVE-2018-7285 can be found at the following references: [AST-2018-001](http://downloads.asterisk.org/pub/security/AST-2018-001.html), [SecurityFocus](http://www.securityfocus.com/bid/103149), [SecurityTracker](http://www.securitytracker.com/id/1040415).

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