CVE-2024-34146 Jenkins Git server Plugin does not perform a permission check
Attackers with SSH keys but no read permission can access Git repositories due to missing authorization checks in the Jenkins Git server Plugin.
- 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-2024-34146?
CVE-2024-34146 is a medium-severity missing authorization vulnerability in Jenkins Git server Plugin, published on 2 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins Git server Plugin 114.v068a_c7cc2574 and earlier does not perform a permission check for read access to a Git repository over SSH, allowing attackers with a previously configured SSH public key but lacking Overall/Read permission to access these repositories.
Which versions are affected by CVE-2024-34146?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:git-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:git-server Maven | All versions | 117.veb |
org.jenkins-ci.plugins:git-server Maven | All versions | 117.veb |
Products include Jenkins Git Server.
How do I fix CVE-2024-34146?
Upgrade org.jenkins-ci.plugins:git-server to 117.veb or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-34146 being exploited?
There is no known exploitation of CVE-2024-34146 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Git server Plugin
Sources
Also known as GHSA-xh9c-vcf9-h94m.