Deserialization of Untrusted Data 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-1050178
- published 17 Feb 2021
- disclosed 9 Dec 2020
- 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 Deserialization of Untrusted Data. An attacker can supply any instance of Serializable to MessagePacket and it would deserialize it without any checks. This could allow a remote attacker to execute arbitrary code if the classpath contains vulnerable serializable classes.