New issue
Advanced search Search tips
Starred by 2 users
Status: Fixed
Owner:
Closed: Jul 2015
Cc:



Sign in to add a comment
Oracle Java Runtime Environment memory disclosure via uninitialized operand stack
Project Member Reported by mjurczyk@google.com, Mar 9 2015 Back to list
The Type-1 CharString processing function (Type1BuildChar) implemented in the t2k font library as part of the Oracle Java Runtime Environment supports the "POP" and "CALLOTHER" instructions in Type-1 fonts. Both of the instructions directly affect the operand stack counter implemented by the CharString VM - POP increments it by 1, and CALLOTHER increments it by a controlled number.

While boundary limits are always correctly enforced upon the stack counter (it must always be 0 <= n < 32), neither of the operators initializes the operand stack memory under the new value of the counter. Since the memory allocator does not pre-initialize the memory area either, it is therefore possible to provoke the Type1BuildChar function to operate on uninitialized heap memory while constructing glyph outlines.

The flaw does not entail memory corruption by itself (and therefore cannot be used for remote code execution); however, it can be potentially used to facilitate the exploitation of another vulnerability (e.g. in order to defeat ASLR), or serve as a memory disclosure primitive if the rendered glyph pixels can be read by the application and propagated back to an attacker.

Due to low severity of the issue, a Proof of Concept is not attached.

This bug is subject to a 90 day disclosure deadline. If 90 days elapse without a broadly available patch, then the bug report will automatically become visible to the public.
 
Project Member Comment 1 by mjurczyk@google.com, Apr 2 2015
Labels: Reported-2015-Apr-2
Project Member Comment 2 by mjurczyk@google.com, Apr 10 2015
Labels: Id-S0557131
Project Member Comment 3 by mjurczyk@google.com, Apr 20 2015
Labels: Deadline-Exceeded Deadline-Grace
Grace period requested by Oracle. Fix expected Tue 14th July, or 13 days into grace period.
Project Member Comment 4 by mjurczyk@google.com, Jul 15 2015
Labels: Fixed-2015-Jul-14
Status: Fixed
Fixed in http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html.
Project Member Comment 5 by mjurczyk@google.com, Jul 17 2015
Labels: -Restrict-View-Commit
Project Member Comment 6 by mjurczyk@google.com, Jul 29 2015
Labels: CVE-2015-2637
Sign in to add a comment