Vulnerabilities in pkg:maven/net.sf.robocode/robocode.host

PACKAGE
Advisory Identifier: GHSA-q2xp-75m7-gv52
Advisory Summary

CVE-2019-10648 is a CRITICAL (CVSS 9.8) robocode.host allows for external service vulnerability (CWE-20: Improper Input Validation) affecting Robocode.host libraries in the Maven ecosystem. The issue involves robocode.host allows for external service interaction. Remediation is available by upgrading affected packages to version 1.9.3.7.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/net.sf.robocode/robocode.host

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/net.sf.robocode/robocode.host. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-q2xp-75m7-gv52 CVE-2019-10648 CRITICAL Improper Input Validation in net.sf.robocode:robocode.host allows for external service interaction

CVE-2019-10648 at a Glance

CVE Identifier CVE-2019-10648
GHSA Identifier GHSA-q2xp-75m7-gv52
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-20: Improper Input Validation
Affected Product Robocode.host
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.8

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:H/I:H/A:H).

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 High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2019-10648

To remediate this vulnerability, upgrade all affected Robocode.host 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.sf.robocode:robocode.host fixed: 1.9.3.7
<dependency>
    <groupId>net.sf.robocode</groupId>
    <artifactId>robocode.host</artifactId>
    <version>1.9.3.7</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.sf.robocode

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=net.sf.robocode

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

Note: The mvn dependency:tree -Dincludes=net.sf.robocode 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Robocode.host, 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

Robocode through 1.9.3.5 allows remote attackers to cause external service interaction (DNS), as demonstrated by a query for a unique subdomain name within an attacker-controlled DNS zone, because of a .openStream call within java.net.URL.

CVE-2019-10648 Affected Robocode.host Versions

1 component(s)
Fixed Versions:
1.9.3.7
Product / Package Ecosystem Affected Versions Fixed Version
net.sf.robocode:robocode.host
Maven
< 1.9.3.7
1.9.3.7

References

Frequently Asked Questions

What is CVE-2019-10648?
CVE-2019-10648 is a security vulnerability in Robocode.host involving robocode.host allows for external service interaction under CWE-20: Improper Input Validation.
Which Robocode.host versions are affected?
Affected versions include releases prior to 1.9.3.7 across affected packages: net.sf.robocode:robocode.host.
What version fixes CVE-2019-10648?
Upgrading to 1.9.3.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is robocode.host affected?
Yes, net.sf.robocode:robocode.host is affected in releases prior to 1.9.3.7. Upgrade your dependency to 1.9.3.7 or later.
What is the CVSS score of CVE-2019-10648?
CVE-2019-10648 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2019-10648?
CVE-2019-10648 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Maven dependencies for CVE-2019-10648?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=net.sf.robocode'. 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-q2xp-75m7-gv52",
  "modified" : "2025-12-22T18:41:59Z",
  "published" : "2019-04-02T15:36:49Z",
  "aliases" : [ "CVE-2019-10648" ],
  "summary" : "Improper Input Validation in net.sf.robocode:robocode.host allows for external service interaction",
  "details" : "Robocode through 1.9.3.5 allows remote attackers to cause external service interaction (DNS), as demonstrated by a query for a unique subdomain name within an attacker-controlled DNS zone, because of a .openStream call within java.net.URL.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "net.sf.robocode:robocode.host"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.9.3.7"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.9.3.5"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10648"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/robo-code/robocode/commit/836c84635e982e74f2f2771b2c8640c3a34221bd#diff-0296a8f9d4a509789f4dc4f052d9c36f"
  }, {
    "type" : "WEB",
    "url" : "https://sourceforge.net/p/robocode/bugs/406"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-862" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:50:34Z",
    "nvd_published_at" : "2019-03-30T13:29:00Z"
  }
}