CVE-2023-40989 — SQL injection in jeecg-boot-common — CVE Details
SQL injection in jeecgboot
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.27%). Schedule for your next planned update.
Does your project use an affected org.jeecgframework.boot:jeecg-boot-common version?
Paste your pom.xml to check it for CVE-2023-40989 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
SQL injection vulnerbility in jeecgboot jeecg-boot v 3.0, 3.5.3 that allows a remote attacker to execute arbitrary code via a crafted request to the report/jeecgboot/jmreport/queryFieldBySql component.
Advisory Timeline
- First published September 22, 2023 (1161 days ago).
- Last revised February 16, 2024 — 146 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 3.6.0 for org.jeecgframework.boot:jeecg-boot-common -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.jeecgframework.boot:jeecg-boot-common Maven · Affected: 3.4.0, 3.4.2, 3.4.3, 3.4.4 (+6 more) | 3.6.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-40989ADVISORY
- https://github.com/jeecgboot/jeecg-boot/commit/473875a9d261780a3400cf6f8260ca441b768ed1WEB
- https://github.com/jeecgboot/jeecg-boot/commit/56e81fbf7bce11d2762b691f5d965b2265be608WEB
- https://github.com/jeecgboot/jeecg-boot/commit/87677df925e55e51233bf740433b30a751fc7705WEB
- https://github.com/Zone1-Z/CVE-2023-40989/blob/main/CVE-2023-40989WEB
Frequently Asked Questions
- What is CVE-2023-40989?
- SQL injection in jeecgboot. 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-40989?
- CVE-2023-40989 affects org.jeecgframework.boot:jeecg-boot-common. It has a 2.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-40989 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 83.8% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2022-45207CRITICAL
Jeecg-boot vulnerable to SQL injection via updateNullByEmptyString
- CVE-2023-41542CRITICAL
Jeecg Boot SQL injection vulnerability
- CVE-2023-1784CRITICAL
jeecg-boot vulnerable to improper authentication
- CVE-2022-47105CRITICAL
Jeecg-boot is vulnerable to SQL injection
- CVE-2023-34659CRITICAL
jeecg-boot SQL injection vulnerability
- CVE-2023-41543CRITICAL
Jeecg Boot SQL Injection
- CVE-2023-42268CRITICAL
Jeecg boot SQL Injection vulnerability
- CVE-2023-38992CRITICAL
SQL injection in jeecg-boot