CVE Vulnerabilities

CVE-2021-26906

Improper Resource Shutdown or Release

Published: Feb 18, 2021 | Modified: Feb 24, 2021
CVSS 3.x
5.9
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

An issue was discovered in res_pjsip_session.c in Digium Asterisk through 13.38.1; 14.x, 15.x, and 16.x through 16.16.0; 17.x through 17.9.1; and 18.x through 18.2.0, and Certified Asterisk through 16.8-cert5. An SDP negotiation vulnerability in PJSIP allows a remote server to potentially crash Asterisk by sending specific SIP responses that cause an SDP negotiation failure.

Weakness

The product does not release or incorrectly releases a resource before it is made available for re-use.

Affected Software

Name Vendor Start Version End Version
Certified_asterisk Digium 16.8 16.8
Certified_asterisk Digium 16.8 16.8
Certified_asterisk Digium 16.8 16.8
Certified_asterisk Digium 16.8 16.8
Certified_asterisk Digium 16.8 16.8
Certified_asterisk Digium 16.8 16.8
Certified_asterisk Digium 16.8 16.8
Certified_asterisk Digium 16.8 16.8
Certified_asterisk Digium 16.8 16.8
Certified_asterisk Digium 16.8 16.8
Certified_asterisk Digium 16.8 16.8
Certified_asterisk Digium 16.8 16.8
Certified_asterisk Digium 16.8 16.8
Asterisk Digium 16.0.0 *
Asterisk Digium 17.0.0 *
Asterisk Digium 18.0 *
Asterisk Digium 13.0.0 *

Potential Mitigations

  • Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.

References