CVE-2022-45385 Lack of authentication mechanism for webhook in CloudBees Docker Hub/Registry Notification Plugin
Unauthenticated attackers can trigger builds of specific jobs in Jenkins CloudBees Docker Hub/Registry Notification Plugin due to missing permission checks.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-45385?
CVE-2022-45385 is a high-severity missing authorization vulnerability in Jenkins CloudBees Docker Hub/Registry Notification Plugin, published on 15 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A missing permission check in Jenkins CloudBees Docker Hub/Registry Notification Plugin 2.6.2 and earlier allows unauthenticated attackers to trigger builds of jobs corresponding to the attacker-specified repository.
Weakness: CWE-862
Which versions are affected by CVE-2022-45385?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:dockerhub-notification. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:dockerhub-notification Maven | All versions | 2.6.2.1 |
org.jenkins-ci.plugins:dockerhub-notification Maven | All versions | 2.6.2.1 |
Products include Jenkins Cloudbees Docker Hub\/Registry Notification.
How do I fix CVE-2022-45385?
Upgrade org.jenkins-ci.plugins:dockerhub-notification to 2.6.2.1 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-45385 being exploited?
There is no known exploitation of CVE-2022-45385 in the wild and no public exploit code.
Sources
Also known as GHSA-v535-pc6r-77qh.