DEV Community

Discussion on: Easy JSON with Scala

Collapse
 
plokhotnyuk profile image
Andriy Plokhotnyuk

CAUTION: json4s is vulnerable under DoS/DoW attacks which exploit hash collision vulnerabilities of Scala's HashMap or parsing vulnerabilities of Java's BigInteger/BigDecimal values:
github.com/json4s/json4s/issues?ut...

Please consider to use more safe and efficient JSON parsers for Scala, like:
github.com/sirthias/borer
github.com/circe/circe
github.com/pathikrit/dijon
github.com/plokhotnyuk/jsoniter-scala