Debian Codegraph @

ChangeLogs/ChangeLog-22.8.2.md

raw symbols SCIP
1
2 ## Change Log for Release asterisk-22.8.2
3
4 ### Links:
5
6 - [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.8.2.html)
7 - [GitHub Diff](https://github.com/asterisk/asterisk/compare/22.8.1...22.8.2)
8 - [Tarball](https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-22.8.2.tar.gz)
9 - [Downloads](https://downloads.asterisk.org/pub/telephony/asterisk)
10
11 ### Summary:
12
13 - Commits: 4
14 - Commit Authors: 2
15 - Issues Resolved: 0
16 - Security Advisories Resolved: 4
17 - [GHSA-85x7-54wr-vh42](https://github.com/asterisk/asterisk/security/advisories/GHSA-85x7-54wr-vh42): Asterisk xml.c uses unsafe XML_PARSE_NOENT leading to potential XXE Injection
18 - [GHSA-rvch-3jmx-3jf3](https://github.com/asterisk/asterisk/security/advisories/GHSA-rvch-3jmx-3jf3): ast_coredumper running as root sources ast_debug_tools.conf from /etc/asterisk; potentially leading to privilege escalation
19 - [GHSA-v6hp-wh3r-cwxh](https://github.com/asterisk/asterisk/security/advisories/GHSA-v6hp-wh3r-cwxh): The Asterisk embedded web server's /httpstatus page echos user supplied values(cookie and query string) without sanitization
20 - [GHSA-xpc6-x892-v83c](https://github.com/asterisk/asterisk/security/advisories/GHSA-xpc6-x892-v83c): ast_coredumper runs as root, and writes gdb init file to world writeable folder; leading to potential privilege escalation
21
22 ### User Notes:
23
24 - #### ast_coredumper: check ast_debug_tools.conf permissions
25 ast_debug_tools.conf must be owned by root and not be
26 writable by other users or groups to be used by ast_coredumper or
27 by ast_logescalator or ast_loggrabber when run as root.
28
29
30 ### Upgrade Notes:
31
32 - #### http.c: Change httpstatus to default disabled and sanitize output.
33 To prevent possible security issues, the `/httpstatus` page
34 served by the internal web server is now disabled by default. To explicitly
35 enable it, set `enable_status=yes` in http.conf.
36
37
38 ### Developer Notes:
39
40
41 ### Commit Authors:
42
43 - George Joseph: (2)
44 - Mike Bradeen: (2)
45
46 ## Issue and Commit Detail:
47
48 ### Closed Issues:
49
50 - !GHSA-85x7-54wr-vh42: Asterisk xml.c uses unsafe XML_PARSE_NOENT leading to potential XXE Injection
51 - !GHSA-rvch-3jmx-3jf3: ast_coredumper running as root sources ast_debug_tools.conf from /etc/asterisk; potentially leading to privilege escalation
52 - !GHSA-v6hp-wh3r-cwxh: The Asterisk embedded web server's /httpstatus page echos user supplied values(cookie and query string) without sanitization
53 - !GHSA-xpc6-x892-v83c: ast_coredumper runs as root, and writes gdb init file to world writeable folder; leading to potential privilege escalation
54
55 ### Commits By Author:
56
57 - #### George Joseph (2):
58
59 - #### Mike Bradeen (2):
60
61 ### Commit List:
62
63 - xml.c: Replace XML_PARSE_NOENT with XML_PARSE_NONET for xmlReadFile.
64 - ast_coredumper: check ast_debug_tools.conf permissions
65 - http.c: Change httpstatus to default disabled and sanitize output.
66 - ast_coredumper: create gdbinit file with restrictive permissions
67
68 ### Commit Details:
69
70 #### xml.c: Replace XML_PARSE_NOENT with XML_PARSE_NONET for xmlReadFile.
71 Author: George Joseph
72 Date: 2026-01-15
73
74 The xmlReadFile XML_PARSE_NOENT flag, which allows parsing of external
75 entities, could allow a potential XXE injection attack. Replacing it with
76 XML_PARSE_NONET, which prevents network access, is safer.
77
78 Resolves: #GHSA-85x7-54wr-vh42
79
80 #### ast_coredumper: check ast_debug_tools.conf permissions
81 Author: Mike Bradeen
82 Date: 2026-01-15
83
84 Prevent ast_coredumper from using ast_debug_tools.conf files that are
85 not owned by root or are writable by other users or groups.
86
87 Prevent ast_logescalator and ast_loggrabber from doing the same if
88 they are run as root.
89
90 Resolves: #GHSA-rvch-3jmx-3jf3
91
92 UserNote: ast_debug_tools.conf must be owned by root and not be
93 writable by other users or groups to be used by ast_coredumper or
94 by ast_logescalator or ast_loggrabber when run as root.
95
96 #### http.c: Change httpstatus to default disabled and sanitize output.
97 Author: George Joseph
98 Date: 2026-01-15
99
100 To address potential security issues, the httpstatus page is now disabled
101 by default and the echoed query string and cookie output is html-escaped.
102
103 Resolves: #GHSA-v6hp-wh3r-cwxh
104
105 UpgradeNote: To prevent possible security issues, the `/httpstatus` page
106 served by the internal web server is now disabled by default. To explicitly
107 enable it, set `enable_status=yes` in http.conf.
108
109 #### ast_coredumper: create gdbinit file with restrictive permissions
110 Author: Mike Bradeen
111 Date: 2026-01-15
112
113 Modify gdbinit to use the install command with explicit permissions (-m 600)
114 when creating the .ast_coredumper.gdbinit file. This ensures the file is
115 created with restricted permissions (readable/writable only by the owner)
116 to avoid potential privilege escalation.
117
118 Resolves: #GHSA-xpc6-x892-v83c
119