Vulnerability · Published Dec 12, 2024 · Assigned by redhat
CVE-2024-12401Cert-manager: potential dos when parsing specially crafted pem inputs
Medium 4.4
In plain English
A medium-severity improper input validation in cert-manager. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A flaw was found in the cert-manager package. This flaw allows an attacker who can modify PEM data that the cert-manager reads, for example, in a Secret resource, to use large amounts of CPU in the cert-manager controller pod to effectively create a denial-of-service (DoS) vector for the cert-manager in the cluster.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/cert-manager/cert-manager | 1.12.14 | GHSA-ghw8-3xqw-hhcj |
| Go | github.com/cert-manager/cert-manager | 1.15.4 | GHSA-ghw8-3xqw-hhcj |
| Go | github.com/cert-manager/cert-manager | 1.16.2 | GHSA-ghw8-3xqw-hhcj |
| Go | github.com/cert-manager/cert-manager | 1.12.14 | GHSA-r4pg-vg54-wxx4 |
| Go | github.com/cert-manager/cert-manager | 1.15.4 | GHSA-r4pg-vg54-wxx4 |
| Go | github.com/cert-manager/cert-manager | 1.16.2 | GHSA-r4pg-vg54-wxx4 |
| Go | github.com/cert-manager/cert-manager | 1.12.14, 1.15.4, 1.16.2 | GO-2024-3282 |
Affected products (as reported)
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
References
- https://access.redhat.com/security/cve/CVE-2024-12401 vdb-entry, x_refsource_REDHAT
- RHBZ#2327929 issue-tracking, x_refsource_REDHAT
- https://github.com/cert-manager/cert-manager/pull/7400
- https://github.com/cert-manager/cert-manager/pull/7401
- https://github.com/cert-manager/cert-manager/pull/7402
- https://github.com/cert-manager/cert-manager/pull/7403
- https://github.com/cert-manager/cert-manager/security/advisories/GHSA-r4pg-vg54-wxx4
- https://go.dev/issue/50116