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. Learn more

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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-DEGURKENLABS-1063468
  • published17 Feb 2021
  • disclosed21 Jan 2021
  • creditGamebuster19901

Introduced: 21 Jan 2021

CVE NOT AVAILABLE CWE-20  (opens 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.

CVSS Scores

version 3.1