Improper Input Validation

Affecting de.gurkenlabs:litiengine artifact, versions [0,0.5.1)

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

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.

Remediation

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

References

CVSS Score

5.3
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    None
  • Integrity
    Low
  • Availability
    None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Credit
Gamebuster19901
CWE
CWE-20
Snyk ID
SNYK-JAVA-DEGURKENLABS-1063468
Disclosed
21 Jan, 2021
Published
17 Feb, 2021