CVE-2023-3432: Plantuml mit PlantUML Server-Side Request Forgery Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-ff3m-68vj-h86p
CVSS 7.2
CWE-918
Published
Advisory Summary

CVE-2023-3432 is a HIGH (CVSS 7.2) plantuml server-side request forgery vulnerability vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Plantuml mit libraries in the Maven ecosystem. The issue involves plantuml server-side request forgery vulnerability. Remediation is available by upgrading affected packages to version 1.2023.9.

CVE-2023-3432 at a Glance

CVE Identifier CVE-2023-3432
GHSA Identifier GHSA-ff3m-68vj-h86p
Severity HIGH
CVSS v3.1 Base Score 7.2
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Plantuml mit
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.2

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:C/C:L/I:L/A:N).

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

How to Fix CVE-2023-3432

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>
net.sourceforge.plantuml:plantuml fixed: 1.2023.9
<dependency>
    <groupId>net.sourceforge.plantuml</groupId>
    <artifactId>plantuml</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-3432, 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-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. 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

Server-Side Request Forgery (SSRF) in GitHub repository plantuml/plantuml prior to 1.2023.9.

CVE-2023-3432 Affected Plantuml mit Versions

2 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
net.sourceforge.plantuml:plantuml
Maven
< 1.2023.9
1.2023.9

References

Frequently Asked Questions

What is CVE-2023-3432?
CVE-2023-3432 is a security vulnerability in Plantuml mit involving PlantUML Server-Side Request Forgery vulnerability under CWE-918: Server-Side Request Forgery (SSRF).
Which Plantuml mit versions are affected?
Affected versions include releases prior to 1.2023.9 across affected packages: net.sourceforge.plantuml:plantuml-mit, net.sourceforge.plantuml:plantuml.
What version fixes CVE-2023-3432?
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.
Is plantuml affected?
Yes, net.sourceforge.plantuml:plantuml 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-3432?
CVE-2023-3432 has a CVSS v3.1 base score of 7.2 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2023-3432?
CVE-2023-3432 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check Maven dependencies for CVE-2023-3432?
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-ff3m-68vj-h86p",
  "modified" : "2023-06-27T17:15:16Z",
  "published" : "2023-06-27T15:30:29Z",
  "aliases" : [ "CVE-2023-3432" ],
  "summary" : "PlantUML Server-Side Request Forgery vulnerability",
  "details" : "Server-Side Request Forgery (SSRF) 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:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "net.sourceforge.plantuml:plantuml-mit"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.2023.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "net.sourceforge.plantuml:plantuml"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.2023.9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-3432"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/plantuml/plantuml/commit/b32500bb61ae617bb312496d6d832e4be8190797"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/plantuml/plantuml"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/8ac3316f-431c-468d-87e4-3dafff2ecf51"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FV7XL3CY3K3K5ER3ASMEQA546MIQQ7QM"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-06-27T17:15:16Z",
    "nvd_published_at" : "2023-06-27T15:15:11Z"
  }
}