# CVE-2024-12401: Cert-manager: potential dos when parsing specially crafted pem inputs

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.4
- **CVSS:** 4.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.03% (percentile 63, 2026-11-26)
- **CWE:** CWE-20
- **Aliases:** GHSA-ghw8-3xqw-hhcj, GHSA-r4pg-vg54-wxx4, GO-2024-3282
- **Published:** 2024-11-20T20:48:11.000Z
- **Modified:** 2026-11-27T05:18:58.143Z

## Who should check

- Projects that depend on Go package github.com/cert-manager/cert-manager (\< 1.12.14)
- Anyone running cert-manager \<= 1.12.14; \>= 1.13.0-alpha.0, \<= 1.15.4; \>= 1.16.0-alpha.0, \<= 1.16.2
- Anyone running cert-manager Operator for Red Hat OpenShift all versions
- Anyone running Red Hat Cryostat 3 all versions
- Anyone running Red Hat Multicluster Engine for Kubernetes all versions
- Anyone running Red Hat OpenShift Serverless all versions
- Anyone running Red Hat Connectivity Link 1 all versions
- Anyone running Red Hat OpenShift Container Platform 4 all versions

## 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 and fixed versions

- Go `github.com/cert-manager/cert-manager`: affected \< 1.12.14; fixed 1.12.14, 1.15.4, 1.16.2 (osv)
- cert-manager: \<= 1.12.14; \>= 1.13.0-alpha.0, \<= 1.15.4; \>= 1.16.0-alpha.0, \<= 1.16.2 (cvelist)
- cert-manager Operator for Red Hat OpenShift: all versions (cvelist)
- cert-manager Operator for Red Hat OpenShift: all versions (cvelist)
- cert-manager Operator for Red Hat OpenShift: all versions (cvelist)
- cert-manager Operator for Red Hat OpenShift: all versions (cvelist)
- Red Hat Cryostat 3: all versions (cvelist)
- Red Hat Multicluster Engine for Kubernetes: all versions (cvelist)
- Red Hat Multicluster Engine for Kubernetes: all versions (cvelist)
- Red Hat OpenShift Serverless: all versions (cvelist)
- Red Hat OpenShift Serverless: all versions (cvelist)
- Red Hat OpenShift Serverless: all versions (cvelist)
- Red Hat OpenShift Serverless: all versions (cvelist)
- Red Hat OpenShift Serverless: all versions (cvelist)
- Red Hat OpenShift Serverless: all versions (cvelist)
- Red Hat OpenShift Serverless: all versions (cvelist)
- Red Hat Connectivity Link 1: all versions (cvelist)
- Red Hat Connectivity Link 1: all versions (cvelist)
- Red Hat OpenShift Container Platform 4: all versions (cvelist)
- Red Hat OpenShift Container Platform 4: all versions (cvelist)
- Red Hat Openshift Data Foundation 4: all versions (cvelist)
- Red Hat OpenShift GitOps: all versions (cvelist)

## Mitigation

- Upgrade github.com/cert-manager/cert-manager to one of 1.12.14, 1.15.4, 1.16.2 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-12401. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-12401.md
Affected: github.com/cert-manager/cert-manager < 1.12.14
Fixed in: 1.12.14, 1.15.4, 1.16.2

Steps:
1. Search this machine and project for github.com/cert-manager/cert-manager (Go), cert-manager, cert-manager Operator for Red Hat OpenShift, Red Hat Cryostat 3, Red Hat Multicluster Engine for Kubernetes, Red Hat OpenShift Serverless: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-12401 being exploited?

There is no confirmed exploitation: CVE-2024-12401 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.03% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-12401?

Medium: CVSS 4.4 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-12401?

github.com/cert-manager/cert-manager \< 1.12.14.

### Is there a fix for CVE-2024-12401?

Yes. Fixed in 1.12.14, 1.15.4, 1.16.2. Upgrade github.com/cert-manager/cert-manager to one of 1.12.14, 1.15.4, 1.16.2 (or later in the same release line).

### How do I check if I'm affected by CVE-2024-12401?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/cert-manager/cert-manager/security/advisories/GHSA-r4pg-vg54-wxx4>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-12401>
- patch: <https://github.com/cert-manager/cert-manager/pull/7400>
- patch: <https://github.com/cert-manager/cert-manager/pull/7401>
- patch: <https://github.com/cert-manager/cert-manager/pull/7402>
- patch: <https://github.com/cert-manager/cert-manager/pull/7403>
- patch: <https://github.com/cert-manager/cert-manager/commit/3a4c9eb55e2e43570679840bbe3217869fbc8efc>
- patch: <https://github.com/cert-manager/cert-manager/commit/f22f78c8c0a64d718e203b326bc844c488ad7850>
- other: <https://access.redhat.com/security/cve/CVE-2024-12401>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2327929>
- other: <https://go.dev/issue/50116>
- other: <https://github.com/cert-manager/cert-manager>
- other: <https://github.com/golang/go/issues/50116>
- other: <https://pkg.go.dev/vuln/GO-2024-3282>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-12401>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-ghw8-3xqw-hhcj> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-r4pg-vg54-wxx4> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2024-3282> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-12401> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-12401>
