CVE-2022-45206 Jeecg-boot vulnerable to SQL Injection

Critical 9.8 Published Updated

Attackers can exploit a SQL injection flaw in the duplicate check component to read or modify database contents.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-45206?

CVE-2022-45206 is a critical SQL injection vulnerability in Jeecg Jeecg Boot, published on 25 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Jeecg-boot v3.4.3 was discovered to contain a SQL injection vulnerability via the component /sys/duplicate/check.

Weakness: CWE-89

Which versions are affected by CVE-2022-45206?

2 open source packages ship an affected version, including org.jeecgframework.boot:jeecg-module-system. It affects 1 product.

PackageAffectedFixed in
org.jeecgframework.boot:jeecg-module-system MavenAll versions3.4.4
org.jeecgframework.boot:jeecg-module-system MavenAll versions3.4.4

Products include Jeecg Jeecg Boot.

How do I fix CVE-2022-45206?

Upgrade org.jeecgframework.boot:jeecg-module-system to 3.4.4 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2022-45206 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-45206 exists.

All Jeecg Jeecg Boot vulnerabilities

Sources

Also known as GHSA-g5cj-5h58-j93w.

Is CVE-2022-45206 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free