SB2022030601 - Asterisk update for pjsip
Published: March 6, 2022
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 secuirty vulnerabilities.
1) Integer overflow (CVE-ID: CVE-2021-37706)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow within STUN message that contains an ERROR-CODE attribute. A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
2) Use-after-free (CVE-ID: CVE-2022-23608)
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a use-after-free error in dialog set. A remote attacker can send a specially crafted request to cause a dialog set to be registered in the hash table multiple times and results in an endless loop condition.
3) Out-of-bounds read (CVE-ID: CVE-2022-21723)
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition during SIP message parsing. A remote attacker can trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.
Remediation
Install update from vendor's website.
References
- https://downloads.asterisk.org/pub/security/AST-2022-004.html"
- https://downloads.asterisk.org/pub/security/AST-2022-004.html</a></p><p>
- https://github.com/pjsip/pjproject/security/advisories/GHSA-2qpg-f6wf-w984</p><p><br></p>
- https://downloads.asterisk.org/pub/security/AST-2022-005.html
- https://github.com/pjsip/pjproject/security/advisories/GHSA-ffff-m5fm-qm62
- https://downloads.asterisk.org/pub/security/AST-2022-006.html
- https://github.com/pjsip/pjproject/security/advisories/GHSA-7fw8-54cv-r7pm