Description
An issue was discovered in Asterisk through 19.x and Certified Asterisk through 16.8-cert13. The func_odbc module provides possibly inadequate escaping functionality for backslash characters in SQL queries, resulting in user-provided data creating a broken SQL query or possibly a SQL injection. This is fixed in 16.25.2, 18.11.2, and 19.3.2, and 16.8-cert14.
References (5)
Core 5
Core References
Mailing List, Third Party Advisory mailing-list
https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html
Third Party Advisory vendor-advisory
https://www.debian.org/security/2022/dsa-5285
Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/166746/Asterisk-Project-Security-Advisory-AST-2022-003.html
Vendor Advisory
https://downloads.asterisk.org/pub/security/
Vendor Advisory
https://downloads.asterisk.org/pub/security/AST-2022-003.html
Scores
CVSS v3
9.8
EPSS
0.0056
EPSS Percentile
68.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-89
Status
published
Products (4)
debian/debian_linux
10.0
debian/debian_linux
11.0
digium/asterisk
16.0.0 - 16.25.2
digium/certified_asterisk
16.8 (21 CPE variants)
Published
Apr 15, 2022
Tracked Since
Feb 18, 2026