GitHub Advisory Database
GHSA-phhv-63fh-rrc8
Jenkins has a DNS rebinding vulnerability in WebSocket CLI origin validation
Details
Jenkins 2.442 through 2.554 (both inclusive), LTS 2.426.3 through LTS 2.541.2 (both inclusive) performs origin validation of requests made through the CLI WebSocket endpoint by computing the expected origin for comparison using the Host or X-Forwarded-Host HTTP request headers, making it vulnerable to DNS rebinding attacks that allow bypassing origin validation.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.jenkins-ci.main:jenkins-core | From 2.442 before 2.555 (fixed in 2.555) |