CVE-2013-0158: Jenkins core Jenkins Allows Attackers To Obtain Vulnerability

LOW
Advisory Identifier: GHSA-jwfr-h6jp-9p2g
Published
Advisory Summary

CVE-2013-0158 is a LOW jenkins allows attackers to obtain vulnerability (General Security Weakness) affecting Jenkins core libraries in the Maven ecosystem. The issue involves jenkins allows attackers to obtain the master cryptographic key. Remediation is available by upgrading affected packages to version 1.498, 1.480.2.

CVE-2013-0158 at a Glance

CVE Identifier CVE-2013-0158
GHSA Identifier GHSA-jwfr-h6jp-9p2g
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Jenkins core
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2013-0158

To remediate this vulnerability, upgrade all affected Jenkins core 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.main:jenkins-core fixed: 1.498
<dependency>
    <groupId>org.jenkins-ci.main</groupId>
    <artifactId>jenkins-core</artifactId>
    <version>1.498</version>
</dependency>
org.jenkins-ci.main:jenkins-core fixed: 1.480.2
<dependency>
    <groupId>org.jenkins-ci.main</groupId>
    <artifactId>jenkins-core</artifactId>
    <version>1.480.2</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.main

How to Check if You Are Affected

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

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

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

Note: The mvn dependency:tree -Dincludes=org.jenkins-ci.main 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 General Security Weakness. In Jenkins core, 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

Unspecified vulnerability in Jenkins before 1.498, Jenkins LTS before 1.480.2, and Jenkins Enterprise 1.447.x before 1.447.6.1 and 1.466.x before 1.466.12.1, when a slave is attached and anonymous read access is enabled, allows remote attackers to obtain the master cryptographic key via unknown vectors.

CVE-2013-0158 Affected Jenkins core Versions

2 component(s)
Fixed Versions:
1.4981.480.2
Product / Package Ecosystem Affected Versions Fixed Version
org.jenkins-ci.main:jenkins-core
Maven
≥ 1.481
< 1.498
1.498
org.jenkins-ci.main:jenkins-core
Maven
< 1.480.2
1.480.2

References

NVD — CVE-2013-0158 NVD
https://nvd.nist.gov/vuln/detail/CVE-2013-0158
Security Fix Commit FIX COMMIT
https://github.com/jenkinsci/jenkins/commit/3dc13b957b14cec649036e8dd517f0f9cb21fb04
Security Fix Commit FIX COMMIT
https://github.com/jenkinsci/jenkins/commit/4895eaafca468b7f0f1a3166b2fca7414f0d5da5
Security Fix Commit FIX COMMIT
https://github.com/jenkinsci/jenkins/commit/48ecccc1669f325acf72953923f9d9620b2590e3
Security Fix Commit FIX COMMIT
https://github.com/jenkinsci/jenkins/commit/56e4b6e287046e4ad2a02f8bd70225a86e74bd34
Security Fix Commit FIX COMMIT
https://github.com/jenkinsci/jenkins/commit/7983ae3baea779df18862623d594744b8d285392
Security Fix Commit FIX COMMIT
https://github.com/jenkinsci/jenkins/commit/94a8789b699132dd706021a6be1b78bc47f19602
Security Fix Commit FIX COMMIT
https://github.com/jenkinsci/jenkins/commit/9fb6c2ca0c73b43cc2e6d08c09707ee67005e526
Security Fix Commit FIX COMMIT
https://github.com/jenkinsci/jenkins/commit/a411b0c3b32eb314d5a26b64de1b3d5db2760443
Security Fix Commit FIX COMMIT
https://github.com/jenkinsci/jenkins/commit/a9aff088f327278a8873aef47fa8f80d3c5932fd
Security Fix Commit FIX COMMIT
https://github.com/jenkinsci/jenkins/commit/c3d8e05a1b3d58b6c4dcff97394cb3a79608b4b2
Security Fix Commit FIX COMMIT
https://github.com/jenkinsci/jenkins/commit/e401c7cfe7b28b6ff9d0893e89c2568596b96915
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=892795
Jenkins core Source Repository REPOSITORY
https://github.com/jenkinsci/jenkins
Jenkins core Security Information SECURITY
https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2013-01-04
rhn.redhat.com/errata/rhsa-2013-02... WEB
http://rhn.redhat.com/errata/RHSA-2013-0220.html
Jenkins core Security Information SECURITY
http://www.cloudbees.com/jenkins-advisory/jenkins-security-advisory-2013-01-04.cb
Jenkins core Security Information SECURITY
http://www.openwall.com/lists/oss-security/2013/01/07/4

Frequently Asked Questions

What is CVE-2013-0158?
CVE-2013-0158 is a security vulnerability in Jenkins core involving Jenkins allows attackers to obtain the master cryptographic key under General Security Weakness.
Which Jenkins core versions are affected?
Affected versions include releases prior to 1.498, 1.480.2 across affected packages: org.jenkins-ci.main:jenkins-core.
What version fixes CVE-2013-0158?
Upgrading to 1.498, 1.480.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jenkins-core affected?
Yes, org.jenkins-ci.main:jenkins-core is affected in releases prior to 1.498, 1.480.2. Upgrade your dependency to 1.498, 1.480.2 or later.
What CWE is associated with CVE-2013-0158?
CVE-2013-0158 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2013-0158?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.jenkins-ci.main'. 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-jwfr-h6jp-9p2g",
  "modified" : "2024-03-06T15:23:11Z",
  "published" : "2022-05-05T02:48:30Z",
  "aliases" : [ "CVE-2013-0158" ],
  "summary" : "Jenkins allows attackers to obtain the master cryptographic key",
  "details" : "Unspecified vulnerability in Jenkins before 1.498, Jenkins LTS before 1.480.2, and Jenkins Enterprise 1.447.x before 1.447.6.1 and 1.466.x before 1.466.12.1, when a slave is attached and anonymous read access is enabled, allows remote attackers to obtain the master cryptographic key via unknown vectors.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jenkins-ci.main:jenkins-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.481"
      }, {
        "fixed" : "1.498"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jenkins-ci.main:jenkins-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.480.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-0158"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/jenkins/commit/3dc13b957b14cec649036e8dd517f0f9cb21fb04"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/jenkins/commit/4895eaafca468b7f0f1a3166b2fca7414f0d5da5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/jenkins/commit/48ecccc1669f325acf72953923f9d9620b2590e3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/jenkins/commit/56e4b6e287046e4ad2a02f8bd70225a86e74bd34"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/jenkins/commit/7983ae3baea779df18862623d594744b8d285392"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/jenkins/commit/94a8789b699132dd706021a6be1b78bc47f19602"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/jenkins/commit/9fb6c2ca0c73b43cc2e6d08c09707ee67005e526"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/jenkins/commit/a411b0c3b32eb314d5a26b64de1b3d5db2760443"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/jenkins/commit/a9aff088f327278a8873aef47fa8f80d3c5932fd"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/jenkins/commit/c3d8e05a1b3d58b6c4dcff97394cb3a79608b4b2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/jenkins/commit/e401c7cfe7b28b6ff9d0893e89c2568596b96915"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=892795"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jenkinsci/jenkins"
  }, {
    "type" : "WEB",
    "url" : "https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2013-01-04"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0220.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.cloudbees.com/jenkins-advisory/jenkins-security-advisory-2013-01-04.cb"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2013/01/07/4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-06T15:23:11Z",
    "nvd_published_at" : "2013-02-24T22:55:00Z"
  }
}