We’re currently running Jenkins 2.440.3 in Docker. When it kicks off an agent and pulls the inbound-agent image, it is pulling “inbound-agent:3206.vb_15dcf73f6a_9-2”.
This image (inbound-agent:3206.vb_15dcf73f6a_9-2) is coming up in our Prisma scans with vulnerabilities that are well beyond our allowed aging ( > 90 days ).
I see there are many later images of inbound-agent in Dockerhub, but I have no idea how to control which version our Jenkins pulls. As of today 2.440.3 is the latest LTS… and we’ll upgrade to the next LTS in a week or so when it’s released, but in general the question is this - is the version of inbound-agent that gets pulled hardcoded/tied to the the version of jenkins, or can it be modifed to use a newer one?
I do recommend that you keep the jdk version consistent between the controller and the agents. While java marshaling is ‘supposed’ to be transparent, it can introduce hard to troubleshoot bugs.
The version of inbound agent that is pulled is not tied to the Jenkins version. You control it from your local configuration. Find that configuration and you can increase the version of that container image to the most recent version.