CVEfocus › CVE database › CVE-2018-16657

CVE-2018-16657

CVSS 9.8 CriticalEPSS 3.6% (higher than 90% of CVEs)Published 2018-09-07Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
3Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04kamailioNot affected
vulnerable_code_not_present
Ubuntu 18.04kamailioFix pending5.1.2-1ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2018-16657
Ubuntu 16.04kamailioFix pending4.3.4-1.1ubuntu2.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2018-16657
Ubuntu 14.04kamailioFix pending
Debian 14kamailioFixed5.1.4-1DEBIAN-CVE-2018-16657
Debian 13kamailioFixed5.1.4-1DEBIAN-CVE-2018-16657
Debian 12kamailioFixed5.1.4-1DEBIAN-CVE-2018-16657

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.