SQL Injection Affecting com.liferay.commerce:com.liferay.commerce.address.web package, versions [,3.0.8)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (59th 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-COMLIFERAYCOMMERCE-10182214
  • published18 May 2025
  • disclosed24 May 2022
  • creditUnknown

Introduced: 24 May 2022

CVE-2021-29053  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade com.liferay.commerce:com.liferay.commerce.address.web to version 3.0.8 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection via the classPKField parameter to CommerceChannelRelFinder.countByC_C and CommerceChannelRelFinder.findByC_C. An attacker can execute arbitrary SQL commands by injecting malicious SQL code.

CVSS Base Scores

version 4.0
version 3.1