CVE-2018-16657

UnknownEPSS 3.58%

Last modified

CVE-2018-16657 is a vulnerability of currently unknown severity. 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. EPSS estimates a 3.58% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
3.58%

87.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
DebianDebian Linux8.0
DebianDebian Linux9.0
KamailioKamailio< 5.0.7
KamailioKamailio>= 5.1.0, < 5.1.4

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2018-16657?
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.
How severe is CVE-2018-16657?
Severity scoring for CVE-2018-16657 is pending analysis. The EPSS model estimates a 3.58% probability of exploitation in the next 30 days.
How do I fix CVE-2018-16657?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-16657?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST