{"id":"GHSA-32qq-m9fh-f74w","summary":"MyBatis-Plus vulnerable to SQL injection via TenantPlugin","details":"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.","aliases":["CVE-2023-25330"],"modified":"2024-06-03T18:48:01.615780Z","published":"2023-04-05T15:30:24Z","database_specific":{"cwe_ids":["CWE-89"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2023-04-05T21:13:04Z","nvd_published_at":"2023-04-05T14:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25330"},{"type":"WEB","url":"https://baomidou.com/reference/about-cve"},{"type":"WEB","url":"https://github.com/FCncdn/MybatisPlusTenantPluginSQLInjection-POC/blob/master/Readme.en.md"},{"type":"PACKAGE","url":"https://github.com/baomidou/mybatis-plus"}],"affected":[{"package":{"name":"com.baomidou:mybatis-plus","ecosystem":"Maven","purl":"pkg:maven/com.baomidou/mybatis-plus"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.3.1"}]}],"versions":["1.0","1.1","1.2","1.2.1","1.2.10","1.2.11","1.2.12","1.2.13","1.2.14","1.2.15","1.2.16","1.2.17","1.2.18","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.8","1.2.9","1.3.0","1.3.1","1.3.10","1.3.11","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.8","1.3.9","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9","1.5","2.0","2.0-beta","2.0-rc","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.6-jdk8","2.0.7","2.0.8","2.0.9","2.1-beta","2.1-gamma","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9","2.2.0","2.3","2.3.1","2.3.2","2.3.3","3.0-RC","3.0-RC1","3.0-RC2","3.0-RC3","3.0-RELEASE","3.0-alpha","3.0-beta","3.0-gamma","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.7.1","3.1.0","3.1.1","3.1.2","3.2.0","3.3.0","3.3.1","3.3.1.tmp","3.3.2","3.4.0","3.4.1","3.4.2","3.4.3","3.4.3.1","3.4.3.2","3.4.3.3","3.4.3.4","3.5.0","3.5.1","3.5.2","3.5.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-32qq-m9fh-f74w/GHSA-32qq-m9fh-f74w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}