CVE-2023-24425 Exposure of system-scoped Kubernetes credentials in Jenkins Kubernetes Credentials Provider Plugin
Attackers with Item/Configure permission can access unauthorized Kubernetes credentials due to missing context in credential lookup.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-24425?
CVE-2023-24425 is a medium-severity missing authorization vulnerability in Jenkins Kubernetes Credentials Provider Plugin, published on 24 Jan 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins Kubernetes Credentials Provider Plugin 1.208.v128ee9800c04 and earlier does not set the appropriate context for Kubernetes credentials lookup, allowing attackers with Item/Configure permission to access and potentially capture Kubernetes credentials they are not entitled to.
Weakness: CWE-284
Which versions are affected by CVE-2023-24425?
2 open source packages ship an affected version, including com.cloudbees.jenkins.plugins:kubernetes-credentials-provider. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.cloudbees.jenkins.plugins:kubernetes-credentials-provider Maven | All versions | 1.209.v862c6e5fb |
com.cloudbees.jenkins.plugins:kubernetes-credentials-provider Maven | All versions | 1.209.v862c6e5fb |
Products include Jenkins Kubernetes Credentials Provider.
How do I fix CVE-2023-24425?
Upgrade com.cloudbees.jenkins.plugins:kubernetes-credentials-provider to 1.209.v862c6e5fb or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2023-24425 being exploited?
There is no known exploitation of CVE-2023-24425 in the wild and no public exploit code.
Sources
Also known as GHSA-2jpx-h8j2-g8m4.