"Applied fix from trunk for revision: 1856455"
------------------------------------------------------------------------ r1856455 | jleroux | 2019-03-28 08:50:32 +0100 (jeu. 28 mars 2019) | 7 lignes Improved: Improve ObjectInputStream class (OFBIZ-10837) Fixes CVE-2019-0189 The white list was still not complete as reported by Ed Mack This adds all arrays of primitives and java.math.BigDecimal Thanks: Ed Mack at OFBIZ-10876 ------------------------------------------------------------------------ git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1856457 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -145,7 +145,8 @@ public final class UtilObject {
|
||||
java.util.Arrays.asList("byte\\[\\]", "Number", "Long", "foo", "SerializationInjector",
|
||||
"java.util.HashMap", "Boolean", "Number", "Integer", "FlexibleStringExpander",
|
||||
"sun.util.calendar.ZoneInfo", "java.sql.Timestamp", "java.util.Date",
|
||||
"java.math.BigDecimal", "\\[B"));) {
|
||||
"java.math.BigDecimal", "[Z ","[B ","[S ","[I ","[J ","[F ","[D ","[C ",
|
||||
"org.apache.ofbiz.widget.renderer.VisualTheme"));) {
|
||||
return wois.readObject();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user