CVE-2018-3183 Code injection in Java

Critical 9.0 Published Updated

Unauthenticated attackers can execute arbitrary code via the Java SE Scripting component, leading to full system takeover.

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

What is CVE-2018-3183?

CVE-2018-3183 is a critical code injection vulnerability in Canonical Ubuntu Linux, published on 17 Oct 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Vulnerability in the Java SE, Java SE Embedded, JRockit component of Oracle Java SE (subcomponent: Scripting). Supported versions that are affected are Java SE: 8u182 and 11; Java SE Embedded: 8u181; JRockit: R28.3.19. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Java SE, Java SE Embedded, JRockit. While the vulnerability is in Java SE, Java SE Embedded, JRockit, attacks may significantly impact additional products. Successful attacks of this vulnerability can result in takeover of Java SE, Java SE Embedded, JRockit. Note: This vulnerability applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets (in Java SE 8), that load and run untrusted code (e.g. code that comes from the internet) and rely on the Java sandbox for security. This vulnerability can also be exploited by using APIs in the specified Component, e.g. through a web service which supplies data to the APIs. CVSS 3.0 Base Score 9.0 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H).

Which versions are affected by CVE-2018-3183?

It affects 14 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Hp Xp7 Command View, Oracle Jdk, Oracle Jre, Oracle Jrockit and 8 more.

How do I fix CVE-2018-3183?

Apply the vendor's patch.

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

Is CVE-2018-3183 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as CLEANSTART-2026-NK48802, GHSA-7mpf-99c4-7wrr, MINI-hpg8-m4h5-cqvp, MINI-m8x5-3vrx-87fw, MINI-xj69-qrw7-wjhr, UBUNTU-CVE-2018-3183.

Is CVE-2018-3183 in your software?

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

Check your SBOMs for free