CVE-2023-3431: Plantuml mit PlantUML Improper Access Control Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-p2mf-q26j-3xmh
CVSS 5.3
CWE-284
Published
Advisory Summary

CVE-2023-3431 is a MODERATE (CVSS 5.3) plantuml improper access control vulnerability vulnerability (CWE-284: Improper Access Control) affecting Plantuml mit libraries in the Maven ecosystem. The issue involves plantuml improper access control vulnerability. Remediation is available by upgrading affected packages to version 1.2023.9.

CVE-2023-3431 at a Glance

CVE Identifier CVE-2023-3431
GHSA Identifier GHSA-p2mf-q26j-3xmh
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-284: Improper Access Control
Affected Product Plantuml mit
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
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-3431

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

net.sourceforge.plantuml:plantuml-mit fixed: 1.2023.9
<dependency>
    <groupId>net.sourceforge.plantuml</groupId>
    <artifactId>plantuml-mit</artifactId>
    <version>1.2023.9</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=net.sourceforge.plantuml

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=net.sourceforge.plantuml

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

Note: The mvn dependency:tree -Dincludes=net.sourceforge.plantuml 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Plantuml mit, 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

Improper Access Control in GitHub repository plantuml/plantuml prior to 1.2023.9.

CVE-2023-3431 Affected Plantuml mit Versions

1 component(s)
Fixed Versions:
1.2023.9
Product / Package Ecosystem Affected Versions Fixed Version
net.sourceforge.plantuml:plantuml-mit
Maven
< 1.2023.9
1.2023.9

References

Frequently Asked Questions

What is CVE-2023-3431?
CVE-2023-3431 is a security vulnerability in Plantuml mit involving PlantUML Improper Access Control vulnerability under CWE-284: Improper Access Control.
Which Plantuml mit versions are affected?
Affected versions include releases prior to 1.2023.9 across affected packages: net.sourceforge.plantuml:plantuml-mit.
What version fixes CVE-2023-3431?
Upgrading to 1.2023.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is plantuml-mit affected?
Yes, net.sourceforge.plantuml:plantuml-mit is affected in releases prior to 1.2023.9. Upgrade your dependency to 1.2023.9 or later.
What is the CVSS score of CVE-2023-3431?
CVE-2023-3431 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2023-3431?
CVE-2023-3431 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Maven dependencies for CVE-2023-3431?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=net.sourceforge.plantuml'. 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-p2mf-q26j-3xmh",
  "modified" : "2023-06-27T17:15:10Z",
  "published" : "2023-06-27T15:30:28Z",
  "aliases" : [ "CVE-2023-3431" ],
  "summary" : "PlantUML Improper Access Control vulnerability",
  "details" : "Improper Access Control in GitHub repository plantuml/plantuml prior to 1.2023.9.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "net.sourceforge.plantuml:plantuml-mit"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.2023.9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-3431"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plantuml/plantuml/commit/fbe7fa3b25b4c887d83927cffb1009ec6cb8ab1e"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/plantuml/plantuml"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/fa741f95-b53c-4ed7-b157-e32c5145164c"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FV7XL3CY3K3K5ER3ASMEQA546MIQQ7QM"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-06-27T17:15:10Z",
    "nvd_published_at" : "2023-06-27T15:15:11Z"
  }
}