CVE-2008-5360 Path traversal in n/a

Medium 6.4 Published Updated

Attackers can exploit predictable temporary file names in the Java Runtime Environment to inject malicious JAR files, leading to arbitrary code execution.

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

What is CVE-2008-5360?

CVE-2008-5360 is a medium-severity path traversal vulnerability in Sun Jdk, published on 5 Dec 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Java Runtime Environment (JRE) for Sun JDK and JRE 6 Update 10 and earlier; JDK and JRE 5.0 Update 16 and earlier; SDK and JRE 1.4.2_18 and earlier; and SDK and JRE 1.3.1_23 and earlier creates temporary files with predictable file names, which allows attackers to write malicious JAR files via unknown vectors.

Which versions are affected by CVE-2008-5360?

It affects 3 products.

Products include Sun Jdk, Sun Jre, Sun Sdk.

How do I fix CVE-2008-5360?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2008-5360 being exploited?

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

All Sun Jdk vulnerabilities

Sources

Also known as GHSA-grv8-692r-c98h.

Is CVE-2008-5360 in your software?

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

Check your SBOMs for free