A buffer overflow in res_pjsip_diversion.c in Sangoma Asterisk versions 13.38.1, 16.15.1, 17.9.1, and 18.1.1 allows remote attacker to crash Asterisk by deliberately misusing SIP 181 responses.
https://issues.asterisk.org/jira/browse/ASTERISK-29227
https://downloads.asterisk.org/pub/security/AST-2021-001.html
http://seclists.org/fulldisclosure/2021/Feb/57
http://packetstormsecurity.com/files/161470/Asterisk-Project-Security-Advisory-AST-2021-001.html