| 1 | |
| 2 | ## Change Log for Release asterisk-22.5.2 |
| 3 | |
| 4 | ### Links: |
| 5 | |
| 6 | - [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.5.2.html) |
| 7 | - [GitHub Diff](https://github.com/asterisk/asterisk/compare/22.5.1...22.5.2) |
| 8 | - [Tarball](https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-22.5.2.tar.gz) |
| 9 | - [Downloads](https://downloads.asterisk.org/pub/telephony/asterisk) |
| 10 | |
| 11 | ### Summary: |
| 12 | |
| 13 | - Commits: 1 |
| 14 | - Commit Authors: 1 |
| 15 | - Issues Resolved: 0 |
| 16 | - Security Advisories Resolved: 1 |
| 17 | - [GHSA-64qc-9x89-rx5j](https://github.com/asterisk/asterisk/security/advisories/GHSA-64qc-9x89-rx5j): A specifically malformed Authorization header in an incoming SIP request can cause Asterisk to crash |
| 18 | |
| 19 | ### User Notes: |
| 20 | |
| 21 | |
| 22 | ### Upgrade Notes: |
| 23 | |
| 24 | |
| 25 | ### Developer Notes: |
| 26 | |
| 27 | |
| 28 | ### Commit Authors: |
| 29 | |
| 30 | - George Joseph: (1) |
| 31 | |
| 32 | ## Issue and Commit Detail: |
| 33 | |
| 34 | ### Closed Issues: |
| 35 | |
| 36 | - !GHSA-64qc-9x89-rx5j: A specifically malformed Authorization header in an incoming SIP request can cause Asterisk to crash |
| 37 | |
| 38 | ### Commits By Author: |
| 39 | |
| 40 | - #### George Joseph (1): |
| 41 | - res_pjsip_authenticator_digest: Fix SEGV if get_authorization_hdr returns NULL. |
| 42 | |
| 43 | |
| 44 | ### Commit List: |
| 45 | |
| 46 | - res_pjsip_authenticator_digest: Fix SEGV if get_authorization_hdr returns NULL. |
| 47 | |
| 48 | ### Commit Details: |
| 49 | |
| 50 | #### res_pjsip_authenticator_digest: Fix SEGV if get_authorization_hdr returns NULL. |
| 51 | Author: George Joseph |
| 52 | Date: 2025-08-28 |
| 53 | |
| 54 | In the highly-unlikely event that get_authorization_hdr() couldn't find an |
| 55 | Authorization header in a request, trying to get the digest algorithm |
| 56 | would cauase a SEGV. We now check that we have an auth header that matches |
| 57 | the realm before trying to get the algorithm from it. |
| 58 | |
| 59 | Resolves: #GHSA-64qc-9x89-rx5j |
| 60 |