{"id":"GHSA-v535-pc6r-77qh","summary":"Lack of authentication mechanism for webhook in CloudBees Docker Hub/Registry Notification Plugin","details":"CloudBees Docker Hub/Registry Notification Plugin provides several webhook endpoints that can be used to trigger builds when Docker images used by a job have been rebuilt.\n\nIn CloudBees Docker Hub/Registry Notification Plugin 2.6.2 and earlier, these endpoints can be accessed without authentication.\n\nThis allows unauthenticated attackers to trigger builds of jobs corresponding to the attacker-specified repository.\n\nCloudBees Docker Hub/Registry Notification Plugin 2.6.2.1 requires a token as a part of webhook URLs, which will act as authentication for the webhook endpoint. As a result, all webhook URLs in the plugin will be different after updating the plugin.\n\nAdministrators can set the [Java system](https://www.jenkins.io/doc/book/managing/system-properties/) property `org.jenkinsci.plugins.registry.notification.webhook.JSONWebHook.DO_NOT_REQUIRE_API_TOKEN` to `true` to disable this fix.","aliases":["CVE-2022-45385"],"modified":"2025-04-30T20:36:14.383032Z","published":"2022-11-16T12:00:23Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-11-21T22:22:24Z","nvd_published_at":"2022-11-15T20:15:00Z","cwe_ids":["CWE-862"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45385"},{"type":"WEB","url":"https://github.com/jenkinsci/dockerhub-notification-plugin/commit/1163d4f297af23266c032fc66bd603b97f9ecd4b"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/dockerhub-notification-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2022-11-15/#SECURITY-2843"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2022/11/15/4"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:dockerhub-notification","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/dockerhub-notification"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2.1"}]}],"versions":["1.0","1.0.1","1.0.2","2.0","2.1","2.2.0","2.2.1","2.3.0","2.4.0","2.5.0","2.5.1","2.5.2","2.5.3","2.6.0","2.6.0.1","2.6.1","2.6.2"],"database_specific":{"last_known_affected_version_range":"\u003c= 2.6.2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-v535-pc6r-77qh/GHSA-v535-pc6r-77qh.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}