CVE-2008-5351 Security feature bypass in n/a

High 7.5 Published Updated

Attackers can bypass security mechanisms in applications relying on shortest-form UTF-8 validation by exploiting non-canonical encoding acceptance in the Java Runtime Environment.

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-5351?

CVE-2008-5351 is a high-severity 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; and SDK and JRE 1.4.2_18 and earlier accepts UTF-8 encodings that are not the "shortest" form, which makes it easier for attackers to bypass protection mechanisms for other applications that rely on shortest-form UTF-8 encodings.

Weakness: CWE-264

Which versions are affected by CVE-2008-5351?

It affects 3 products.

Products include Sun Jdk, Sun Jre, Sun Sdk.

How do I fix CVE-2008-5351?

Upgrade to a fixed version.

Is CVE-2008-5351 being exploited?

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

All Sun Jdk vulnerabilities

Sources

Also known as GHSA-79wc-h5f5-pq4h.

Is CVE-2008-5351 in your software?

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

Check your SBOMs for free