CVE-2021-3860 SQL injection in JFrog Artifactory

High 8.8 Published Updated

A low-privileged authenticated user can perform blind SQL injection in JFrog Artifactory Enterprise+ deployments to read sensitive data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-3860?

CVE-2021-3860 is a high-severity SQL injection vulnerability in Jfrog Artifactory, published on 20 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

JFrog Artifactory before 7.25.4 (Enterprise+ deployments only), is vulnerable to Blind SQL Injection by a low privileged authenticated user due to incomplete validation when performing an SQL query.

Weakness: CWE-89

Which versions are affected by CVE-2021-3860?

1 open source package ship an affected version, including artifactory. It affects 1 product.

PackageAffectedFixed in
artifactory BitnamiAll versions6.23.30, 7.11.8, 7.12.10, 7.17.14, 7.18.11, 7.19.12, 7.21.14, 7.23.8, 7.24.7, 7.25.4

Products include Jfrog Artifactory.

How do I fix CVE-2021-3860?

Upgrade artifactory to a fixed version for your release line: 6.23.30, 7.11.8, 7.12.10 or 7.17.14.

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-2021-3860 being exploited?

There is no known exploitation of CVE-2021-3860 in the wild and no public exploit code.

All Jfrog Artifactory vulnerabilities

Sources

Also known as BIT-artifactory-2021-3860, GHSA-p7mv-x2rc-847f.

Is CVE-2021-3860 in your software?

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

Check your SBOMs for free