CVE-2018-16657
In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message ...
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD. Plus basse selon Ubuntu (moyenne).
Description
In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with an invalid Via header causes a segmentation fault and crashes Kamailio. The reason is missing input validation in the crcitt_string_array core function for calculating a CRC hash for To tags. (An additional error is present in the check_via_address core function: this function also misses input validation.) This could result in denial of service and potentially the execution of arbitrary code.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| debian 11 | kamailio | 5.1.4-1 |
| debian 12 | kamailio | 5.1.4-1 |
| debian 13 | kamailio | 5.1.4-1 |
| debian 14 | kamailio | 5.1.4-1 |
| debian 8 | kamailio | 4.2.0-2+deb8u5 |
| debian 9 | kamailio | 4.4.4-2+deb9u3 |
| echo | kamailio | 5.1.4-1 |
| ubuntu 16.04-ESM | kamailio | 4.3.4-1.1ubuntu2.1+esm1 |
| ubuntu 18.04-ESM | kamailio | 5.1.2-1ubuntu2+esm1 |
Références
- https://github.com/kamailio/kamailio/commit/ad68e402ece8089f133c10de6ce319f9e28c0692%20%28master%29
- https://github.com/kamailio/kamailio/commit/d67b2f9874ca23bd69f18df71b8f53b1b6151f6d%20%285.1%29
- https://github.com/kamailio/kamailio/commit/f07dabffef98c7088cdbc2bd695a4ae7a241b159%20%285.0%29
- https://lists.debian.org/debian-lts-announce/2018/09/msg00013.html
- https://skalatan.de/blog/advisory-hw-2018-06
- https://ubuntu.com/security/notices/USN-6022-1
- https://www.cve.org/CVERecord?id=CVE-2018-16657
- https://www.debian.org/security/2018/dsa-4292