Debian Codegraph @

ChangeLogs/ChangeLog-22.8.2.html

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