SQL Injection Affecting org.springframework.cloud:spring-cloud-task-core package, versions [,2.2.5)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.1% (44th 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 SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKCLOUD-1064875
  • published26 Jan 2021
  • disclosed26 Jan 2021
  • creditSufijen Bani

Introduced: 26 Jan 2021

CVE-2020-5428  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade org.springframework.cloud:spring-cloud-task-core to version 2.2.5 or higher.

Overview

org.springframework.cloud:spring-cloud-task-core is an a project centered around the idea of processing on demand. A user is able to develop a “task” that can be deployed, executed and removed on demand, yet the result of the process persists beyond the life of the task for future reporting.

Affected versions of this package are vulnerable to SQL Injection. The value passed into the JdbcTaskExecutionDao via a Pageable is not validated.

CVSS Base Scores

version 3.1