CVE-2022-26651

Name
CVE-2022-26651
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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://downloads.asterisk.org/pub/security/
MISC https://downloads.asterisk.org/pub/security/AST-2022-003.html
MISC http://packetstormsecurity.com/files/166746/Asterisk-Project-Security-Advisory-AST-2022-003.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:digium:certified_asterisk:16.8:cert1-rc1:*:*:*:*:*:* certified_asterisk == None == 16.8
cpe:2.3:a:digium:asterisk:*:*:*:*:*:*:*:* asterisk >= 16.0.0 < 16.25.2
cpe:2.3:a:digium:asterisk:*:*:*:*:*:*:*:* asterisk >= 18.0 < 18.11.2
cpe:2.3:a:digium:asterisk:*:*:*:*:*:*:*:* asterisk >= 19.0.0 < 19.3.2

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
asterisk edge-main 18.11.2-r0 Timo Teras <timo.teras@iki.fi> fixed
asterisk 3.15-main 18.2.2-r5 Timo Teras <timo.teras@iki.fi> possibly vulnerable
asterisk 3.14-main 18.2.2-r2 Timo Teras <timo.teras@iki.fi> possibly vulnerable
asterisk 3.13-main 18.2.1-r2 Timo Teras <timo.teras@iki.fi> possibly vulnerable
asterisk 3.12-main 16.16.1-r1 Timo Teras <timo.teras@iki.fi> possibly vulnerable
asterisk 3.16-main 18.11.2-r0 Timo Teras <timo.teras@iki.fi> fixed