Improper Input Validation Affecting de.gurkenlabs:litiengine package, versions [0,0.5.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-DEGURKENLABS-1063468
  • published 17 Feb 2021
  • disclosed 21 Jan 2021
  • credit Gamebuster19901

Introduced: 21 Jan 2021

CVE NOT AVAILABLE CWE-20 Open this link in a new tab

How to fix?

Upgrade de.gurkenlabs:litiengine to version 0.5.1 or higher.

Overview

de.gurkenlabs:litiengine is a pure 2D free java game engine. Written in plain Java 8 it provides all the infrastructure to create a 2D tile based java game, be it a platformer or a top-down adventure.

Affected versions of this package are vulnerable to Improper Input Validation. The validate method of litiengine/src/de/gurkenlabs/litiengine/net/messages/MessageHandler.java is not abstract. This means that a subclass of ClientMessage will accept any message (as long as it's not null) by default if the developer forgets to implement validate.

References

CVSS Scores

version 3.1
Expand this section

Snyk

5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    None