SecurityContext

CVE-2018-7285: Asterisk - Null Pointer Dereference

  • Cve: CVE-2018-7285
  • Name: Asterisk - Null Pointer Dereference
  • Description: 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.
  • Impact: Attackers can cause crashes or denial of service by sending crafted RTP packets, disrupting service availability.
  • Remediation: Update to Asterisk 15.2.2 or later versions where the issue is fixed.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.05037
  • Epss percentile: 0.92481
  • Assignee: [email protected]
  • Published at: 2018-02-22T00:29:01Z
  • Age in days: 3197
  • Modified at: 2026-06-17T02:02:57Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-7285
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference

References

Same in every row:

  • Source: nvd
UrlTags
http://downloads.asterisk.org/pub/security/AST-2018-001.htmlPatch, Vendor Advisory
http://www.securityfocus.com/bid/103149Third Party Advisory, VDB Entry
http://www.securitytracker.com/id/1040415Third Party Advisory, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
digium:asterisk>= 15.0.0, <= 15.2.1nonvd/v1/products/digium/asterisk

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 1543
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports