CVE-2018-7285
A NULL pointer access issue was discovered in Asterisk 15.x through 15.2.1.
Published 8 y ago · modified 4 mo ago · JSON
Summary
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.
Exploit prediction (EPSS)
5.04% probability of exploitation in the next 30 days, higher than 92% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
- CWE-476 NULL Pointer Dereference
References
- securitytracker.com /id/1040415 · vdb-entry, x_refsource_SECTRACK, x_transferred
- securityfocus.com /bid/103149 · vdb-entry, x_refsource_BID, x_transferred
- downloads.asterisk.org /pub/security/AST-2018-001.html · x_refsource_CONFIRM, x_transferred
Sources
- CVE List: CVE-2018-7285
- NVD: CVE-2018-7285
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.