Vulnerabilities in pkg:maven/org.jenkins-ci.plugins/sonar

PACKAGE
Advisory Identifier: GHSA-3x9h-3p7m-33m7
Advisory Summary

CVE-2013-5676 is a MODERATE jenkins sonarqube plugin stores passwords vulnerability (CWE-312: Cleartext Storage of Sensitive Information) affecting Sonar libraries in the Maven ecosystem. The issue involves jenkins sonarqube plugin stores passwords in cleartext. Remediation is available in the latest vendor maintenance releases.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.jenkins-ci.plugins/sonar

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.jenkins-ci.plugins/sonar. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-3x9h-3p7m-33m7 CVE-2013-5676 MODERATE Jenkins SonarQube Plugin Stores Passwords in Cleartext
GHSA-3ccq-gccx-pm7j CVE-2018-1000425 HIGH Jenkins SonarQube Scanner Plugin stored server authentication token in plain text

CVE-2013-5676 at a Glance

CVE Identifier CVE-2013-5676
GHSA Identifier GHSA-3x9h-3p7m-33m7
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-312: Cleartext Storage of Sensitive Information
Affected Product Sonar
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2013-5676

To remediate this vulnerability, upgrade all affected Sonar dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.jenkins-ci.plugins:sonar fixed: Latest secure release
<dependency>
    <groupId>org.jenkins-ci.plugins</groupId>
    <artifactId>sonar</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.jenkins-ci.plugins

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2013-5676, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.jenkins-ci.plugins

Analyze the terminal output to locate any version of Sonar in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.jenkins-ci.plugins command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-312: Cleartext Storage of Sensitive Information, where the product stores sensitive information in cleartext within a resource that might be accessible to another control sphere. In Sonar, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The Jenkins Plugin for SonarQube 3.7 and earlier allows remote authenticated users to obtain sensitive information (cleartext passwords) by reading the value in the sonar.sonarPassword parameter from jenkins/configure.

CVE-2013-5676 Affected Sonar Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.jenkins-ci.plugins:sonar
Maven
≤ 3.7

References

Frequently Asked Questions

What is CVE-2013-5676?
CVE-2013-5676 is a security vulnerability in Sonar involving Jenkins SonarQube Plugin Stores Passwords in Cleartext under CWE-312: Cleartext Storage of Sensitive Information.
Which Sonar versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.jenkins-ci.plugins:sonar.
What version fixes CVE-2013-5676?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is sonar affected?
Yes, org.jenkins-ci.plugins:sonar is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2013-5676?
CVE-2013-5676 is classified under CWE-312: Cleartext Storage of Sensitive Information (The product stores sensitive information in cleartext within a resource that might be accessible to another control sphere.).
How can I check Maven dependencies for CVE-2013-5676?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.jenkins-ci.plugins'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3x9h-3p7m-33m7",
  "modified" : "2025-03-13T19:18:38Z",
  "published" : "2022-05-17T04:56:20Z",
  "aliases" : [ "CVE-2013-5676" ],
  "summary" : "Jenkins SonarQube Plugin Stores Passwords in Cleartext",
  "details" : "The Jenkins Plugin for SonarQube 3.7 and earlier allows remote authenticated users to obtain sensitive information (cleartext passwords) by reading the value in the sonar.sonarPassword parameter from jenkins/configure.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jenkins-ci.plugins:sonar"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "3.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-5676"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jenkinsci/sonarqube-plugin"
  }, {
    "type" : "WEB",
    "url" : "http://seclists.org/fulldisclosure/2013/Dec/37"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-312" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-03-13T19:18:38Z",
    "nvd_published_at" : "2013-12-13T18:55:00Z"
  }
}