CVE-2018-1999037: Jenkins Resource Disposer Plugin allows attacker to stop tracking specified resource

Summary

14/05/2022
Yes i
Low
3.1

CVE-2018-1999037: Jenkins Resource Disposer Plugin allows attacker to stop tracking specified resource. Affects org.jenkins-ci.plugins:resource-disposer versions < 0.12. Fixed in 0.12. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Jenkins Resource Disposer Plugin is a plugin for the Jenkins automation server that allows users to manage and dispose of resources used by Jenkins jobs. It provides a way to track and release resources such as files, connections, or other external resources after a job has completed. This plugin is commonly used in Jenkins environments to ensure efficient resource management and prevent resource leaks.

Vulnerability Detail

A vulnerability has been identified in the Jenkins Resource Disposer Plugin version 0.11 and earlier. The vulnerability exists in the AsyncResourceDisposer.java file, which is responsible for tracking and disposing of resources. Attackers can exploit this vulnerability to stop tracking a specified resource, leading to potential resource leaks and improper resource management. Additionally, the API endpoint used for this action did not require POST requests, making it susceptible to Cross-Site Request Forgery (CSRF) attacks. This vulnerability has been assigned the CVE identifier CVE-2018-1999037 and has a CVSS score of 3.1 (CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L).

How To Fix

Minimum fixed version

0.12

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

If upgrading to the latest version is not immediately feasible, a temporary workaround can be implemented by restricting access to the vulnerable API endpoint. This can be done by configuring network firewalls or access control lists (ACLs) to block requests to the vulnerable endpoint. However, this workaround should only be considered as a temporary measure, and upgrading to the latest version is strongly recommended for a comprehensive fix.

Conclusion

The Jenkins Resource Disposer Plugin version 0.11 and earlier is vulnerable to a data modification and CSRF vulnerability. Upgrading to version 0.12 or later is recommended to fix the vulnerability and ensure secure resource tracking and disposal. Implementing the temporary workaround of restricting access to the vulnerable API endpoint can provide immediate protection until the upgrade is performed. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:resource-disposer →

Share this vulnerability

FAQ

This vulnerability allows attackers to stop tracking a specified resource in the Jenkins Resource Disposer Plugin. This can lead to resource leaks, improper resource management, and potential security risks.

You can use the Vulert Playground at Vulert Scanner to check if your Jenkins environment is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the pom.xml file to analyze the software.

There are no known public exploits for this vulnerability at the time of this report. However, it is important to promptly apply the recommended fix to mitigate any potential risks.

Exploiting this vulnerability requires the attacker to have at least Low-level permissions in the Jenkins environment. However, upgrading to version 0.12 or later of the Jenkins Resource Disposer Plugin will require Overall/Administer permissions for the vulnerable API endpoint, further mitigating the risk.

How To Fix

Minimum fixed version

0.12

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback