CVE-2022-47896 Code injection in IntelliJ IDEA

Medium 5.0 Published Updated

Attackers can execute arbitrary code via Server-Side Template Injection in IntelliJ IDEA code templates.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-47896?

CVE-2022-47896 is a medium-severity code injection vulnerability in Jetbrains Intellij Idea, published on 22 Dec 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In JetBrains IntelliJ IDEA before 2022.3.1 code Templates were vulnerable to SSTI attacks.

Weakness: CWE-94, CWE-1336

Which versions are affected by CVE-2022-47896?

It affects 1 product.

Products include Jetbrains Intellij Idea.

How do I fix CVE-2022-47896?

No fix has been published for CVE-2022-47896 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-47896 being exploited?

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

All Jetbrains Intellij Idea vulnerabilities

Sources

Also known as GHSA-44qv-x6f8-2jwm.

Is CVE-2022-47896 in your software?

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

Check your SBOMs for free