{"id":"CVE-2021-31878","details":"An issue was discovered in PJSIP in Asterisk before 16.19.1 and before 18.5.1. To exploit, a re-INVITE without SDP must be received after Asterisk has sent a BYE request.","modified":"2026-07-08T21:26:50.294863Z","published":"2021-07-30T14:15:16.690Z","references":[{"type":"REPORT","url":"https://issues.asterisk.org/jira/browse/ASTERISK-29381"},{"type":"FIX","url":"http://downloads.asterisk.org/pub/security/AST-2021-007.html"},{"type":"FIX","url":"http://packetstormsecurity.com/files/163638/Asterisk-Project-Security-Advisory-AST-2021-007.html"},{"type":"FIX","url":"http://seclists.org/fulldisclosure/2021/Jul/48"},{"type":"FIX","url":"https://downloads.digium.com/pub/security/AST-2021-007.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/asterisk/asterisk","events":[{"introduced":"77ea4d0b263053f9a9641a6fc1f873e7c13f5a84"},{"last_affected":"69f8f98b8709f5504e95f7de17ea1f53f346cfd4"}],"database_specific":{"cpe":["cpe:2.3:a:digium:asterisk:16.17.0:*:*:*:*:*:*:*","cpe:2.3:a:digium:asterisk:16.18.0:*:*:*:*:*:*:*","cpe:2.3:a:digium:asterisk:16.19.0:*:*:*:*:*:*:*","cpe:2.3:a:digium:asterisk:18.3.0:*:*:*:*:*:*:*","cpe:2.3:a:digium:asterisk:18.4.0:*:*:*:*:*:*:*","cpe:2.3:a:digium:asterisk:18.5.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"16.17.0"},{"last_affected":"16.17.0"},{"introduced":"16.18.0"},{"last_affected":"16.18.0"},{"introduced":"16.19.0"},{"last_affected":"16.19.0"},{"introduced":"18.3.0"},{"last_affected":"18.3.0"},{"introduced":"18.4.0"},{"last_affected":"18.4.0"},{"introduced":"18.5.0"},{"last_affected":"18.5.0"}],"source":"CPE_STRING"}}],"versions":["16.17.0","16.18.0","16.19.0","18.3.0","18.4.0","18.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31878.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}