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

PACKAGE
Advisory Identifier: GHSA-c3v2-5388-v8pw
Advisory Summary

CVE-2023-23848 is a MODERATE (CVSS 4.3) csrf vulnerability vulnerability (CWE-276: Incorrect Default Permissions) affecting Synopsys coverity libraries in the Maven ecosystem. The issue involves csrf vulnerability in jenkins coverity plugin allow capturing credentials. Remediation is available by upgrading affected packages to version 3.0.3.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.jenkins-ci.plugins/synopsys-coverity

3 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-c3v2-5388-v8pw CVE-2023-23848 MODERATE CSRF vulnerability in Jenkins Coverity Plugin allow capturing credentials
GHSA-px6v-6jhf-j46r CVE-2023-23847 LOW CSRF vulnerability in Synopsys Jenkins Coverity Plugin
GHSA-jwr6-75xh-jh5j CVE-2023-23850 MODERATE Synopsys Jenkins Coverity Plugin has Incorrect Default Permissions

CVE-2023-23848 at a Glance

CVE Identifier CVE-2023-23848
GHSA Identifier GHSA-c3v2-5388-v8pw
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-276: Incorrect Default Permissions
Affected Product Synopsys coverity
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 4.3

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

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

How to Fix CVE-2023-23848

To remediate this vulnerability, upgrade all affected Synopsys coverity 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:synopsys-coverity fixed: 3.0.3
<dependency>
    <groupId>org.jenkins-ci.plugins</groupId>
    <artifactId>synopsys-coverity</artifactId>
    <version>3.0.3</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-2023-23848, 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 Synopsys coverity in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.3), 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-276: Incorrect Default Permissions, where during installation, installed file permissions are set to allow anyone to modify those files. In Synopsys coverity, 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

Missing permission checks in Synopsys Jenkins Coverity Plugin 3.0.2 and earlier allow attackers with Overall/Read permission to connect to an attacker-specified HTTP server using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.

CVE-2023-23848 Affected Synopsys coverity Versions

1 component(s)
Fixed Versions:
3.0.3
Product / Package Ecosystem Affected Versions Fixed Version
org.jenkins-ci.plugins:synopsys-coverity
Maven
< 3.0.3
3.0.3

References

Frequently Asked Questions

What is CVE-2023-23848?
CVE-2023-23848 is a security vulnerability in Synopsys coverity involving CSRF vulnerability in Jenkins Coverity Plugin allow capturing credentials under CWE-276: Incorrect Default Permissions.
Which Synopsys coverity versions are affected?
Affected versions include releases prior to 3.0.3 across affected packages: org.jenkins-ci.plugins:synopsys-coverity.
What version fixes CVE-2023-23848?
Upgrading to 3.0.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is synopsys-coverity affected?
Yes, org.jenkins-ci.plugins:synopsys-coverity is affected in releases prior to 3.0.3. Upgrade your dependency to 3.0.3 or later.
What is the CVSS score of CVE-2023-23848?
CVE-2023-23848 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2023-23848?
CVE-2023-23848 is classified under CWE-276: Incorrect Default Permissions (During installation, installed file permissions are set to allow anyone to modify those files.).
How can I check Maven dependencies for CVE-2023-23848?
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-c3v2-5388-v8pw",
  "modified" : "2024-01-30T23:16:38Z",
  "published" : "2023-02-15T21:30:30Z",
  "aliases" : [ "CVE-2023-23848" ],
  "summary" : "CSRF vulnerability in Jenkins Coverity Plugin allow capturing credentials",
  "details" : "Missing permission checks in Synopsys Jenkins Coverity Plugin 3.0.2 and earlier allow attackers with Overall/Read permission to connect to an attacker-specified HTTP server using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jenkins-ci.plugins:synopsys-coverity"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.0.2"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-23848"
  }, {
    "type" : "WEB",
    "url" : "https://community.synopsys.com/s/article/SIG-Product-Security-Advisory-Multiple-CVEs-affecting-Coverity-Jenkins-Plugin"
  }, {
    "type" : "WEB",
    "url" : "https://www.jenkins.io/security/advisory/2023-02-15/#SECURITY-2793%20(2)"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-276" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-30T23:16:38Z",
    "nvd_published_at" : "2023-02-15T19:15:00Z"
  }
}