Remote Code Execution Affecting com.alibaba:fastjson package, versions [,1.2.25)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
77.28% (99th percentile)

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 Remote Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-COMALIBABA-73578
  • published23 Jan 2019
  • disclosed26 Dec 2017
  • creditUnknown

Introduced: 26 Dec 2017

CVE-2017-18349  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade com.alibaba:fastjson to version 1.2.25 or higher.

Overview

com.alibaba:fastjson is a fast JSON parser/generator for Java.

Affected versions of this package are vulnerable to Remote Code Execution. It allows remote attackers to execute arbitrary code via a crafted JSON request, as it did not properly deserialise object arrays when parsing JSON objects.

CVSS Scores

version 3.1