CVE-2024-12401: Duplicate Advisory Denial of Service Vulnerability
MODERATECVE-2024-12401 is a MODERATE (CVSS 4.4) denial of service vulnerability (CWE-20: Improper Input Validation) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves cert-manager ha a potential slowdown / dos when parsing specially crafted pem inputs. Remediation is available by upgrading affected packages to version 1.12.14, 1.15.4, 1.16.2.
CVE-2024-12401 at a Glance
Security Impact
CVSS: 4.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2024-12401
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/cert-manager/cert-manager to 1.12.14
Upgrade github.com/cert-manager/cert-manager to 1.15.4
Upgrade github.com/cert-manager/cert-manager to 1.16.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/cert-manager/cert-manager
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-12401, inspect your project dependencies for Duplicate Advisory:
inspect dependencies for github.com/cert-manager/cert-manager
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.12.14), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-12401 Affected Duplicate Advisory Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/cert-manager/cert-manager
|
Go |
< 1.12.14
|
1.12.14
|
|
github.com/cert-manager/cert-manager
|
Go |
≥ 1.13.0-alpha.0
< 1.15.4
|
1.15.4
|
|
github.com/cert-manager/cert-manager
|
Go |
≥ 1.16.0-alpha.0
< 1.16.2
|
1.16.2
|
References
Frequently Asked Questions
What is CVE-2024-12401?
Which Duplicate Advisory versions are affected?
What version fixes CVE-2024-12401?
Is github.com/cert-manager/cert-manager affected?
What is the CVSS score of CVE-2024-12401?
What CWE is associated with CVE-2024-12401?
How can I check Go dependencies for CVE-2024-12401?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-ghw8-3xqw-hhcj",
"modified" : "2024-12-12T19:19:49Z",
"published" : "2024-12-12T09:31:36Z",
"withdrawn" : "2024-12-12T19:19:49Z",
"aliases" : [ "CVE-2024-12401" ],
"summary" : "Duplicate Advisory: cert-manager ha a potential slowdown / DoS when parsing specially crafted PEM inputs",
"details" : "# Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-r4pg-vg54-wxx4. This link is maintained to preserve external references.\n\n# Original Description\n\nA 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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cert-manager/cert-manager"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.12.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cert-manager/cert-manager"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.13.0-alpha.0"
}, {
"fixed" : "1.15.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cert-manager/cert-manager"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.16.0-alpha.0"
}, {
"fixed" : "1.16.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cert-manager/cert-manager/security/advisories/GHSA-r4pg-vg54-wxx4"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-12401"
}, {
"type" : "WEB",
"url" : "https://github.com/cert-manager/cert-manager/pull/7400"
}, {
"type" : "WEB",
"url" : "https://github.com/cert-manager/cert-manager/pull/7401"
}, {
"type" : "WEB",
"url" : "https://github.com/cert-manager/cert-manager/pull/7402"
}, {
"type" : "WEB",
"url" : "https://github.com/cert-manager/cert-manager/pull/7403"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2024-12401"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2327929"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cert-manager/cert-manager"
}, {
"type" : "WEB",
"url" : "https://go.dev/issue/50116"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-12T19:19:49Z",
"nvd_published_at" : "2024-12-12T09:15:05Z"
}
}