CVE-2022-45391: Cavisson ns nd integration Jenkins NS-ND Integration Performance Publisher Vulnerability

MODERATE
Advisory Identifier: GHSA-3vwm-fc87-mq6h
CVSS 5.9
CWE-295
Published
Advisory Summary

CVE-2022-45391 is a MODERATE (CVSS 5.9) jenkins ns-nd integration performance publisher vulnerability (CWE-295: Improper Certificate Validation) affecting Cavisson ns nd integration libraries in the Maven ecosystem. The issue involves jenkins ns-nd integration performance publisher plugin disables ssl/tls certificate validation globally and unconditionally. Remediation is available by upgrading affected packages to version 4.8.0.146.

CVE-2022-45391 at a Glance

CVE Identifier CVE-2022-45391
GHSA Identifier GHSA-3vwm-fc87-mq6h
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-295: Improper Certificate Validation
Affected Product Cavisson ns nd integration
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2022-45391

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

io.jenkins.plugins:cavisson-ns-nd-integration fixed: 4.8.0.146
<dependency>
    <groupId>io.jenkins.plugins</groupId>
    <artifactId>cavisson-ns-nd-integration</artifactId>
    <version>4.8.0.146</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=io.jenkins.plugins

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=io.jenkins.plugins

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

Note: The mvn dependency:tree -Dincludes=io.jenkins.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-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Cavisson ns nd integration, 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

Jenkins NS-ND Integration Performance Publisher Plugin 4.8.0.143 and earlier globally and unconditionally disables SSL/TLS certificate and hostname validation for the entire Jenkins controller JVM. NS-ND Integration Performance Publisher Plugin 4.8.0.146 no longer disables SSL/TLS certificate and hostname validation globally.

CVE-2022-45391 Affected Cavisson ns nd integration Versions

1 component(s)
Fixed Versions:
4.8.0.146
Product / Package Ecosystem Affected Versions Fixed Version
io.jenkins.plugins:cavisson-ns-nd-integration
Maven
< 4.8.0.146
4.8.0.146

References

Frequently Asked Questions

What is CVE-2022-45391?
CVE-2022-45391 is a security vulnerability in Cavisson ns nd integration involving Jenkins NS-ND Integration Performance Publisher Plugin disables SSL/TLS certificate validation globally and unconditionally under CWE-295: Improper Certificate Validation.
Which Cavisson ns nd integration versions are affected?
Affected versions include releases prior to 4.8.0.146 across affected packages: io.jenkins.plugins:cavisson-ns-nd-integration.
What version fixes CVE-2022-45391?
Upgrading to 4.8.0.146 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cavisson-ns-nd-integration affected?
Yes, io.jenkins.plugins:cavisson-ns-nd-integration is affected in releases prior to 4.8.0.146. Upgrade your dependency to 4.8.0.146 or later.
What is the CVSS score of CVE-2022-45391?
CVE-2022-45391 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N.
What CWE is associated with CVE-2022-45391?
CVE-2022-45391 is classified under CWE-295: Improper Certificate Validation (The product does not validate, or incorrectly validates, a certificate.).
How can I check Maven dependencies for CVE-2022-45391?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.jenkins.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-3vwm-fc87-mq6h",
  "modified" : "2023-10-30T21:12:33Z",
  "published" : "2022-11-16T12:00:23Z",
  "aliases" : [ "CVE-2022-45391" ],
  "summary" : "Jenkins NS-ND Integration Performance Publisher Plugin disables SSL/TLS certificate validation globally and unconditionally",
  "details" : "Jenkins NS-ND Integration Performance Publisher Plugin 4.8.0.143 and earlier globally and unconditionally disables SSL/TLS certificate and hostname validation for the entire Jenkins controller JVM.\n\nNS-ND Integration Performance Publisher Plugin 4.8.0.146 no longer disables SSL/TLS certificate and hostname validation globally.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.jenkins.plugins:cavisson-ns-nd-integration"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.8.0.146"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-45391"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jenkinsci/cavisson-ns-nd-integration-plugin"
  }, {
    "type" : "WEB",
    "url" : "https://www.jenkins.io/security/advisory/2022-11-15/#SECURITY-2910%20%281%29"
  }, {
    "type" : "WEB",
    "url" : "https://www.jenkins.io/security/advisory/2022-11-15/#SECURITY-2910%20(1)"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2022/11/15/4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-295" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-21T22:23:33Z",
    "nvd_published_at" : "2022-11-15T20:15:00Z"
  }
}