CVE-2023-39013
Java vulnerability analysis and mitigation

Overview

Duke v1.2 and below contains a code injection vulnerability in the component no.priv.garshol.duke.server.CommonJTimer.init. The vulnerability was discovered and reported on July 18, 2023, affecting all versions up to and including version 1.2 (Duke Issue). The vulnerability has been assigned CVE-2023-39013 and received a CVSS v3.1 base score of 9.8 CRITICAL (NVD).

Technical details

The vulnerability exists in the CommonJTimer.init(Properties) method, which is designed to initialize a timer. The issue stems from the method accepting unchecked arguments that can lead to arbitrary code execution. When processing the 'duke.timer-jndipath' property, the component fails to properly validate input, allowing attackers to specify malicious LDAP URLs. The vulnerability has been classified as CWE-94 (Improper Control of Generation of Code) (NVD).

Impact

The vulnerability allows for remote code execution through the injection of malicious code. An attacker can execute arbitrary code by providing specially crafted properties to the CommonJTimer.init method, potentially leading to complete system compromise (Duke Issue).

Exploitability

A proof of concept exploit has been documented that demonstrates how the vulnerability can be triggered. The exploit involves creating a CommonJTimer instance and setting the 'duke.timer-jndipath' property to point to a malicious LDAP server. When the init method is called with these properties, it executes the arbitrary code provided by the attacker (Duke Issue).

Mitigation and workarounds

The recommended mitigation is to filter LDAP, RMI, and related protocols when using lookup functionality. As of the vulnerability disclosure, no official patch has been released (Duke Issue).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-10050HIGH8.7
  • Java logoJava
  • spark-kubernetes-operator-fips
NoYesAug 04, 2026
CVE-2026-56818MEDIUM6.5
  • Java logoJava
  • netty-javadoc
NoYesAug 07, 2026
CVE-2026-48047MEDIUM5.9
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-webjars-api
NoYesAug 07, 2026
CVE-2026-53573MEDIUM4.8
  • Java logoJava
  • org.geonetwork-opensource:geonetwork
NoYesJul 31, 2026
CVE-2026-71497MEDIUM4.7
  • Java logoJava
  • jsoup
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management