CVE-2025-32755

In jenkins/ssh-slave Docker images based on Debian, SSH host keys are generated on image creation for images based on Debian, causing all containers based on…

Critical · published April 10, 2025

CVSS v3.1
9.1
EPSS
0%
Percentile
40.2
In the wild
Unconfirmed
What it is

🔥 Your Jenkins containers might be throwing a party with the same SSH host keys, and that's a recipe for disaster! Think of it like a group of hotels using the same master key for all their rooms — a guest could walk right into any room without a reservation! With identical SSH host keys in these Docker images, an attacker could impersonate your SSH build agents and sneak into your network communications. An attacker in the right spot could intercept SSH traffic, pretending to be your Jenkins build agents. This could lead to unauthorized access to sensitive build information, potential code leaks, and a complete compromise of your CI/CD pipeline. The stakes are incredibly high — it’s not just a minor breach; it’s an open invitation to chaos!

Put simply

Think of it like a group of hotels using the same master key for all their rooms — a guest could walk right into any room without a reservation! With identical SSH host keys in these Docker images, an attacker could impersonate your SSH build agents and sneak into your network communications. This vulnerability allows multiple Docker containers based on the same Jenkins SSH-slave images to share the same SSH host keys, enabling attackers to impersonate agents if they can intercept traffic between the Jenkins controller and the agents.

What to do

An attacker in the right spot could intercept SSH traffic, pretending to be your Jenkins build agents. This could lead to unauthorized access to sensitive build information, potential code leaks, and a complete compromise of your CI/CD pipeline. The stakes are incredibly high — it’s not just a minor breach; it’s an open invitation to chaos! To secure your environment, patch your Jenkins SSH-slave Docker images by upgrading to the latest version that generates unique SSH host keys per container. Additionally, consider implementing network segmentation and using SSH key management best practices to protect your infrastructure. This is fixable! Stay vigilant and follow these steps to lock down your setup. You've got this! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00477 · 40.2th percentile
Published
2025-04-10T11:21Z
EPSS history
Timeline
  • 10 APR 11:21Z
    In jenkins/ssh-slave Docker images based on Debian, SSH host keys are generated on image creation for images based on Debian, causing all containers based on…
    cvelistv5