PT-2023-23656 · Suse · K3S
Highcwayne18
·
Published
2023-09-11
·
Updated
2023-09-21
·
CVE-2023-32187
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
k3s versions 1.24.0 through 1.24.17
k3s versions 1.25.0 through 1.25.13
k3s versions 1.26.0 through 1.26.8
k3s versions 1.27.0 through 1.27.5
k3s versions 1.28.0 through 1.28.1
Description
An Allocation of Resources Without Limits or Throttling issue in SUSE k3s allows attackers with access to K3s servers' apiserver/supervisor port (TCP 6443) to cause denial of service. The issue affects k3s servers, where an attacker can force the TLS server to add entries to the certificate's Subject Alternative Name (SAN) list until the certificate grows so large that it exceeds the maximum size allowed by TLS client implementations, leading to a denial of service (DoS) attack.
Recommendations
For versions 1.24.0 through 1.24.17, upgrade to version 1.24.17+k3s1.
For versions 1.25.0 through 1.25.13, upgrade to version 1.25.13+k3s1.
For versions 1.26.0 through 1.26.8, upgrade to version 1.26.8+k3s1.
For versions 1.27.0 through 1.27.5, upgrade to version 1.27.5+k3s1 and add the parameter
tls-san-security: true to the K3s configuration.
For versions 1.28.0 through 1.28.1, upgrade to version 1.28.1+k3s1.
If you cannot upgrade to a fixed release, consider running the command kubectl annotate secret -n kube-system k3s-serving listener.cattle.io/static=true to "freeze" the certificate, but be aware that this will prevent the certificate from adding new SAN entries and automatically renewing itself.Fix
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
K3S