CVE-2022-43414: Jenkins NUnit Plugin vulnerable to Protection Mechanism Failure
Summary
CVE-2022-43414: Jenkins NUnit Plugin vulnerable to Protection Mechanism Failure. Affects org.jenkins-ci.plugins:nunit versions < 0.28. Fixed in 0.28. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Jenkins NUnit Plugin is a Maven ecosystem package that provides functionality for parsing test results in the NUnit format. It allows users to specify a directory containing test result files, which are then processed and displayed in the Jenkins CI/CD environment. This plugin is widely used by developers to analyze and track test results for their projects.
Vulnerability Detail
The Jenkins NUnit Plugin version 0.27 and earlier contains a vulnerability that allows attackers with control over agent processes to access test results from files in a directory specified by the attacker on the Jenkins controller. This vulnerability arises from an agent-to-controller message that parses files inside the user-specified directory as test results. By exploiting this vulnerability, an attacker can obtain sensitive test result data from unauthorized locations on the Jenkins controller. However, the vulnerability has been addressed in version 0.28 of the NUnit Plugin, which changes the message type from agent-to-controller to controller-to-agent, effectively preventing execution on the controller.
How To Fix
Minimum fixed version
0.28
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround available for this vulnerability. It is essential to upgrade to the fixed version of the Jenkins NUnit Plugin to ensure the protection mechanism is in place.
Conclusion
The Jenkins NUnit Plugin version 0.27 and earlier is vulnerable to a protection mechanism failure that allows unauthorized access to test results on the Jenkins controller. Upgrading to version 0.28 or later of the NUnit Plugin resolves this vulnerability by changing the message type and preventing execution on the controller. It is crucial to promptly address this vulnerability to protect sensitive test result data and maintain the integrity of the testing process. For additional support and guidance, please contact DevNack.com.
See every vulnerability recorded for org.jenkins-ci.plugins:nunit →
FAQ
This vulnerability allows attackers to access test results from unauthorized directories on the Jenkins controller. It could lead to the exposure of sensitive test result data and potentially compromise the integrity of the testing process.
You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, and you can input your pom.xml file to analyze the presence of this vulnerability.
There is no known exploit available for this vulnerability at the moment. However, it is crucial to address the vulnerability promptly by upgrading to the fixed version of the Jenkins NUnit Plugin.
At present, there are no alternative plugins or tools specifically designed to mitigate this vulnerability. The recommended approach is to upgrade to the fixed version of the Jenkins NUnit Plugin.
For further support on vulnerability remediation and assistance with upgrading the Jenkins NUnit Plugin, you can reach out to info@devnack.com.
Related vulnerabilities
Recent vulnerabilities recorded for org.jenkins-ci.plugins:nunit.