CVE-2022-34181

Critical

Description

Jenkins xUnit Plugin 3.0.8 and earlier implements an agent-to-controller message that creates a user-specified directory if it doesn't exist, and parsing files inside it as test results, allowing attackers able to control agent processes to create an arbitrary directory on the Jenkins controller or to obtain test results from existing files in an attacker-specified directory.

SeverityCritical
CVSS9.1
Exploit probability—
ProductJenkins Xunit
PublishedJun 23, 2022
First seenJun 23, 2022

How to fix

Update
  • org.jenkins-ci.plugins:xunit3.1.0 or later

Affected products

ProductAffected versionsFixed in
jenkins xunitv ≤ 3.0.8—
org.jenkins-ci.plugins:xunitMavenv < 3.1.03.1.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.