Bug 512684 - OpenJDK Font processing DoS vulnerability
Summary: OpenJDK Font processing DoS vulnerability
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-20 11:40 UTC by Marc Schoenefeld
Modified: 2019-09-29 12:30 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-08-21 22:51:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Marc Schoenefeld 2009-07-20 11:40:00 UTC
A set of crash vulnerabilities in the OpenJDK font processing routines
have been detected. They crash the VM on F10 and F11, EL5 packages did not crash.  

To start the reproducer use: 

java FontFuzzRandom /usr/share/fonts/lohit-oriya/lohit_or.ttf


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (nmethod.cpp:1851), pid=16913, tid=20683664
#  Error: guarantee(cont_offset != 0,"unhandled implicit exception in compiled c
ode")
#

or 

#  SIGSEGV (0xb) at pc=0x00f89a4d, pid=21610, tid=85552016
#
# JRE version: 6.0-b16
# Java VM: OpenJDK Client VM (14.0-b15 mixed mode linux-x86 )
# Distribution: Custom build (Thu Jul  9 14:26:35 EDT 2009)
# Problematic frame:
# J  java.lang.StringCoding$StringEncoder.encode([CII)[B


As font data can be supplied via untrusted client code, 
the parsing methods should be checked for proper behavior.


Note You need to log in before you can comment on or make changes to this bug.