Loading...
Skip to main content

CVE-2023-25330 — Vulnerability in com.baomidou:mybatis-plus — CVE...

CRITICAL

MyBatis-Plus vulnerable to SQL injection via TenantPlugin

Published April 5, 2023Updated June 3, 2024Source: osv

Summary

MyBatis-Plus below 3.5.3.1 is vulnerable to SQL injection via the tenant ID value. This may allow remote attackers to execute arbitrary SQL commands.

Advisory Timeline

  • First published April 5, 2023 (1286 days ago).
  • Last revised June 3, 2024 — 425 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.baomidou:mybatis-plus to 3.5.3.1 or later
<!-- Update pom.xml dependency version to 3.5.3.1 for com.baomidou:mybatis-plus -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
com.baomidou:mybatis-plus
maven
1.0, 1.1, 1.2, 1.2.1 (+105 more)3.5.3.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2023-25330?
MyBatis-Plus vulnerable to SQL injection via TenantPlugin This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2023-25330?
CVE-2023-25330 affects com.baomidou:mybatis-plus. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-25330 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-32qq-m9fh-f74w

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies