CVE-2021-31878 json
An issue was discovered in PJSIP in Asterisk before 16.19.1 and before 18.5.1.
published 5y ago modified 4mo ago also EUVD-2021-18753
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2021-31878 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-31878 updated cvss 7.5
asterisk: Remote Crash Vulnerability in PJSIP channel driver may lead to DoS
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.46% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- issues.asterisk.org https://issues.asterisk.org/jira/browse/ASTERISK-29381 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-617 Reachable Assertion
References
-
seclists.org
/fulldisclosure/2021/Jul/48
mailing-list, patch, third-party-advisory
-
packetstormsecurity.com
/files/163638/Asterisk-Project-Security-Advisory-AST-2021-007.html
patch, third-party-advisory, vdb-entry
-
downloads.asterisk.org
/pub/security/AST-2021-007.html
patch, vendor-advisory
-
downloads.digium.com
/pub/security/AST-2021-007.html
patch, vendor-advisory
-
issues.asterisk.org
/jira/browse/ASTERISK-29381
exploit, issue-tracking, vendor-advisory
Sources
- CVE List CVE-2021-31878
- NVD CVE-2021-31878
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.