Werk #16219: Limit length of Hostname

Component Setup
Title Limit length of Hostname
Date Nov 10, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p37 2.2.0p15 2.3.0b1
Level Trivial Change
Class Security Fix
Compatibility Compatible - no manual interaction needed

Prior to this Werk it was possible to create Hosts with arbitrary length. Since Checkmk stores information in files which paths contain the hostname these path could exceed the allowed length leading to various errors to an extend that rendered the usage of parts of the GUI useless.

We found this vulnerability internally.

Affected Versions: * 2.2.0 * 2.1.0 * 2.0.0

Vulnerability Management: We have rated the issue with a CVSS Score of 2.7 (Low) with the following CVSS vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L. We assigned CVE-2023-23549 to this vulnerability.

Changes: This Werk adds a maximum length of 253 characters for the hostname.

To the list of all Werks