Improper Input Validation Affecting de.gurkenlabs:litiengine package, versions [0,0.5.1)
Snyk CVSS
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
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
.