CVE-2018-1999046: Exposure of Sensitive Information in Jenkins

Summary

14/05/2022
Yes i
Moderate
4.3

CVE-2018-1999046: Exposure of Sensitive Information to an Unauthorized Actor in Jenkins. Affects org.jenkins-ci.main:jenkins-core across 2 version ranges.

< 2.121.3 >= 2.122, < 2.138

Fixed in 2.121.3 or 2.138, depending on the release line you run. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Jenkins is an open-source automation server that enables developers to build, test, and deploy their software projects. It provides a wide range of plugins and integrations to support various development processes. The vulnerable package in focus is org.jenkins-ci.main:jenkins-core, which is a core component of Jenkins responsible for its main functionality. This vulnerability affects Jenkins versions 2.137 and earlier, as well as 2.121.2 and earlier. The vulnerability allows attackers with Overall/Read permission to access the connection log for any agent.

Vulnerability Detail

The exposure of sensitive information vulnerability in Jenkins arises from a flaw in the Computer.java file. Attackers with Overall/Read permission can exploit this vulnerability to gain unauthorized access to the connection log of any agent. This log may contain sensitive information, potentially leading to further security breaches or unauthorized actions. The vulnerability has a CVSS score of 4.3, indicating a moderate severity level.

How To Fix

Latest published version: 2.587 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.121.3 2.121.3
  • >= 2.122, < 2.138 2.138

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If upgrading Jenkins is not immediately feasible, a temporary workaround is to restrict access permissions for users with Overall/Read permission. By limiting access to the connection log, the risk of unauthorized access to sensitive information can be mitigated. The following code snippet demonstrates how to restrict access to the connection log:

// Example code for restricting access to the connection log
if (user.hasPermission(Permission.OVERALL_READ)) {
    // Deny access to the connection log
    denyAccessToConnectionLog();
}

Conclusion

In conclusion, the exposure of sensitive information vulnerability in Jenkins allows attackers with Overall/Read permission to access the connection log for any agent. This can lead to unauthorized access to sensitive information and potential security breaches. To mitigate this vulnerability, it is recommended to upgrade Jenkins to the patched versions or apply the temporary workaround. Regularly updating Jenkins and following best security practices are essential to ensure the integrity and security of your Jenkins installation.

See every vulnerability recorded for org.jenkins-ci.main:jenkins-core →

Share this vulnerability

FAQ

This vulnerability allows attackers with Overall/Read permission to access the connection log for any agent in Jenkins. The connection log may contain sensitive information, potentially leading to further security breaches or unauthorized actions.

Users of Jenkins versions 2.137 and earlier, as well as 2.121.2 and earlier, are affected by this vulnerability. Specifically, attackers with Overall/Read permission can exploit this vulnerability.

You can use the Vulert Playground at Vulert Scanner to check if your Jenkins installation is affected by this vulnerability. Simply provide your pom.xml file, and Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this one.

A temporary workaround is to restrict access permissions for users with Overall/Read permission. By limiting access to the connection log, the risk of unauthorized access to sensitive information can be mitigated. However, it is highly recommended to upgrade Jenkins to the patched versions mentioned earlier to fully address the vulnerability.

You can find more information about this vulnerability, including its technical details and the affected package versions, in the advisory on the GitHub Advisory Database: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-667q-vj58-rj88/GHSA-667q-vj58-rj88.json

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.main:jenkins-core.

How To Fix

Latest published version: 2.587 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.121.3 2.121.3
  • >= 2.122, < 2.138 2.138

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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