Jenkins has a DNS rebinding vulnerability in WebSocket CLI origin validation
Jenkins Project Jenkins
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.jenkins-ci.main:jenkins-core Maven |
|
|
Original description
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.
From the CVE record · jenkins