| 1 | |
| 2 | ## Change Log for Release asterisk-22.5.1 |
| 3 | |
| 4 | ### Links: |
| 5 | |
| 6 | - [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.5.1.html) |
| 7 | - [GitHub Diff](https://github.com/asterisk/asterisk/compare/22.5.0...22.5.1) |
| 8 | - [Tarball](https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-22.5.1.tar.gz) |
| 9 | - [Downloads](https://downloads.asterisk.org/pub/telephony/asterisk) |
| 10 | |
| 11 | ### Summary: |
| 12 | |
| 13 | - Commits: 2 |
| 14 | - Commit Authors: 2 |
| 15 | - Issues Resolved: 0 |
| 16 | - Security Advisories Resolved: 2 |
| 17 | - [GHSA-mrq5-74j5-f5cr](https://github.com/asterisk/asterisk/security/advisories/GHSA-mrq5-74j5-f5cr): Remote DoS and possible RCE in asterisk/res/res_stir_shaken/verification.c |
| 18 | - [GHSA-v9q8-9j8m-5xwp](https://github.com/asterisk/asterisk/security/advisories/GHSA-v9q8-9j8m-5xwp): Uncontrolled Search-Path Element in safe_asterisk script may allow local privilege escalation. |
| 19 | |
| 20 | ### User Notes: |
| 21 | |
| 22 | |
| 23 | ### Upgrade Notes: |
| 24 | |
| 25 | - #### safe_asterisk: Add ownership checks for /etc/asterisk/startup.d and its files. |
| 26 | The safe_asterisk script now checks that, if it was run by the |
| 27 | root user, the /etc/asterisk/startup.d directory and all the files it contains |
| 28 | are owned by root. If the checks fail, safe_asterisk will exit with an error |
| 29 | and Asterisk will not be started. Additionally, the default logging |
| 30 | destination is now stderr instead of tty "9" which probably won't exist |
| 31 | in modern systems. |
| 32 | |
| 33 | |
| 34 | ### Developer Notes: |
| 35 | |
| 36 | |
| 37 | ### Commit Authors: |
| 38 | |
| 39 | - George Joseph: (1) |
| 40 | - ThatTotallyRealMyth: (1) |
| 41 | |
| 42 | ## Issue and Commit Detail: |
| 43 | |
| 44 | ### Closed Issues: |
| 45 | |
| 46 | - !GHSA-mrq5-74j5-f5cr: Remote DoS and possible RCE in asterisk/res/res_stir_shaken/verification.c |
| 47 | - !GHSA-v9q8-9j8m-5xwp: Uncontrolled Search-Path Element in safe_asterisk script may allow local privilege escalation. |
| 48 | |
| 49 | ### Commits By Author: |
| 50 | |
| 51 | - #### George Joseph (1): |
| 52 | - res_stir_shaken: Test for missing semicolon in Identity header. |
| 53 | |
| 54 | - #### ThatTotallyRealMyth (1): |
| 55 | - safe_asterisk: Add ownership checks for /etc/asterisk/startup.d and its files. |
| 56 | |
| 57 | |
| 58 | ### Commit List: |
| 59 | |
| 60 | - safe_asterisk: Add ownership checks for /etc/asterisk/startup.d and its files. |
| 61 | - res_stir_shaken: Test for missing semicolon in Identity header. |
| 62 | |
| 63 | ### Commit Details: |
| 64 | |
| 65 | #### safe_asterisk: Add ownership checks for /etc/asterisk/startup.d and its files. |
| 66 | Author: ThatTotallyRealMyth |
| 67 | Date: 2025-06-10 |
| 68 | |
| 69 | UpgradeNote: The safe_asterisk script now checks that, if it was run by the |
| 70 | root user, the /etc/asterisk/startup.d directory and all the files it contains |
| 71 | are owned by root. If the checks fail, safe_asterisk will exit with an error |
| 72 | and Asterisk will not be started. Additionally, the default logging |
| 73 | destination is now stderr instead of tty "9" which probably won't exist |
| 74 | in modern systems. |
| 75 | |
| 76 | Resolves: #GHSA-v9q8-9j8m-5xwp |
| 77 | |
| 78 | #### res_stir_shaken: Test for missing semicolon in Identity header. |
| 79 | Author: George Joseph |
| 80 | Date: 2025-07-31 |
| 81 | |
| 82 | ast_stir_shaken_vs_verify() now makes sure there's a semicolon in |
| 83 | the Identity header to prevent a possible segfault. |
| 84 | |
| 85 | Resolves: #GHSA-mrq5-74j5-f5cr |
| 86 |