CVE-2018-12547: Buffer Overflow
IBM JDK 8 SR5 FP30 (8.0.5.30) and IBM JDK 7R1 SR4 FP40 (7.1.4.40) fix a flaw described by upstream as:
Eclipse OpenJ9 is vulnerable to a buffer overflow, caused by improper bounds checking by the jiosnprintf() and jiovsnprintf() functions. By sending an overly long argument, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.
OpenJ9 upstream bug and commit:
https://bugs.eclipse.org/bugs/showbug.cgi?id=543659 https://github.com/eclipse/openj9/commit/0971f22d88f42cf7332364ad7430e9bd8681c970
References:
https://www-01.ibm.com/support/docview.wss?uid=ibm10873332 https://developer.ibm.com/javasdk/support/security-vulnerabilities/#IBMSecurityUpdateMarch2019
Other sources
In Eclipse OpenJ9, prior to the 0.12.0 release, the jiosnprintf() and jiovsnprintf() native methods ignored the length parameter. This affects existing APIs that called the functions to exceed the allocated buffer. This functions were not directly callable by non-native user code.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is CVE-2018-12547?
CVE-2018-12547 is a vulnerability in Eclipse OpenJ9 prior to the 0.12.0 release, where the jio_snprintf() and jio_vsnprintf() native methods ignored the length parameter.
What is the severity of CVE-2018-12547?
CVE-2018-12547 has a severity rating of 9.8 (Critical).
Which software is affected by CVE-2018-12547?
CVE-2018-12547 affects Eclipse OpenJ9 up to version 0.12.0, Redhat Satellite version 5.8, and Redhat Enterprise Linux versions 6.0 and 7.0.
How does CVE-2018-12547 affect existing APIs?
CVE-2018-12547 affects existing APIs that called the jio_snprintf() and jio_vsnprintf() functions to exceed the allocated buffer.
How can I fix CVE-2018-12547?
To fix CVE-2018-12547, update to Eclipse OpenJ9 version 0.12.0 or later.