Summary
This update for jackson-databind, jackson-dataformats-binary, jackson-annotations, jackson-bom, jackson-core fixes the following issues:
Security issues fixed:
- CVE-2020-36518: Fixed a Java stack overflow exception and denial of service via a large depth of nested objects in jackson-databind. (bsc#1197132)
- CVE-2020-25649: Fixed an insecure entity expansion in jackson-databind which was vulnerable to XML external entity (XXE). (bsc#1177616)
- CVE-2020-28491: Fixed a bug which could cause `java.lang.OutOfMemoryError` exception in jackson-dataformats-binary. (bsc#1182481)
Non security fixes:
jackson-annotations - update from version 2.10.2 to version 2.13.0:
+ Build with source/target levels 8
+ Add 'mvnw' wrapper
+ 'JsonSubType.Type' should accept array of names
+ Jackson version alignment with Gradle 6
+ Add '@JsonIncludeProperties'
+ Add '@JsonTypeInfo(use=DEDUCTION)'
+ Ability to use '@JsonAnyGetter' on fields
+ Add '@JsonKey' annotation
+ Allow repeated calls to 'SimpleObjectIdResolver.bindItem()' for same mapping
+ Add 'namespace' property for '@JsonProperty' (for XML module)
+ Add target 'ElementType.ANNOTATION_TYPE' for '@JsonEnumDefaultValue'
+ 'JsonPattern.Value.pattern' retained as '', never (accidentally) exposed as 'null'
+ Rewrite to use `ant` for building in order to be able to use it in packages that have to be built before maven
jackson-bom - update from version 2.10.2 to version 2.13.0:
+ Configure moditect plugin with '<jvmVersion>11</jvmVersion>'
+ jackson-bom manages the version of 'junit:junit'
+ Drop 'jackson-datatype-hibernate3' (support for Hibernate 3.x datatypes)
+ Removed 'jakarta' classifier variants of JAXB/JSON-P/JAX-RS modules due to the addition of new Jakarta artifacts
(Jakarta-JSONP, Jakarta-xmlbind-annotations, Jakarta-rs-providers)
+ Add version for 'jackson-datatype-jakarta-jsonp' module (introduced after 2.12.2)
+ Add (beta) version for 'jackson-dataformat-toml'
+ Jakarta 9 artifact versions are missing from jackson-bom
+ Add default settings for 'gradle-module-metadata-maven-plugin' (gradle metadata)
+ Add default settings for 'build-helper-maven-plugin'
+ Drop 'jackson-module-scala_2.10' entry (not released for Jackson 2.12 or later)
+ Add override for 'version.plugin.bundle' (for 5.1.1) to help build on JDK 15+
+ Add missing version for jackson-datatype-eclipse-collections
jackson-core - update from version 2.10.2 to version 2.13.0:
+ Build with source and target levels 8
+ Misleading exception for input source when processing byte buffer with start offset
+ Escape contents of source document snippet for 'JsonLocation._appendSourceDesc()'
+ Add 'StreamWriteException' type to eventually replace 'JsonGenerationException'
+ Replace 'getCurrentLocation()'/'getTokenLocation()' with 'currentLocation()'/'currentTokenLocation()' in
'JsonParser'
+ Replace 'JsonGenerator.writeObject()' (and related) with 'writePOJO()'
+ Replace 'getCurrentValue()'/'setCurrentValue()' with 'currentValue()'/'assignCurrentValue()' in
'JsonParser'/'JsonGenerator
+ Introduce O(n^1.5) BigDecimal parser implementation
+ ByteQuadsCanonicalizer.addName(String, int, int) has incorrect handling for case of q2 == null
+ UTF32Reader ArrayIndexOutOfBoundsException
+ Improve exception/JsonLocation handling for binary content: don't show content, include byte offset
+ Fix an issue with the TokenFilter unable to ignore properties when deserializing.
+ Optimize array allocation by 'JsonStringEncoder'
+ Add 'mvnw' wrapper
+ (partial) Optimize array allocation by 'JsonStringEncoder'
+ Add back accidentally removed 'JsonStringEncoder' related methods in 'BufferRecyclers'
(like 'getJsonStringEncoder()')
+ 'ArrayOutOfBoundException' at 'WriterBasedJsonGenerator.writeString(Reader, int)'
+ Allow 'optional-padding' for 'Base64Variant'
+ More customizable TokenFilter inclusion (using 'Tokenfilter.Inclusion')
+ Publish Gradle Module Metadata
+ Add 'StreamReadCapability' for further format-based/format-agnostic handling improvements
+ Add 'JsonParser.isExpectedNumberIntToken()' convenience method
+ Add 'StreamWriteCapability' for further format-based/format-agnostic handling improvements
+ Add 'JsonParser.getNumberValueExact()' to allow precision-retaining buffering
+ Limit initial allocated block size by 'ByteArrayBuilder' to max block size
+ Add 'JacksonException' as parent class of 'JsonProcessingException'
+ Make 'JsonWriteContext.reset()' and 'JsonReadContext.reset()' methods public
+ Deprecate 'JsonParser.getCurrentTokenId()' (use '#currentTokenId()' instead)
+ Full 'LICENSE' included in jar for easier access by compliancy tools
+ Fix NPE in 'writeNumber(String)' method of 'UTF8JsonGenerator', 'WriterBasedJsonGenerator'
+ Add a String Array write method in the Streaming API
+ Synchronize variants of 'JsonGenerator#writeNumberField' with 'JsonGenerator#writeNumber'
+ Add JsonGenerator#writeNumber(char[], int, int) method
+ Do not clear aggregated contents of 'TextBuffer' when 'releaseBuffers()' called
+ 'FilteringGeneratorDelegate' does not handle 'writeString(Reader, int)'
+ Optionally allow leading decimal in float tokens
+ Rewrite to use ant for building in order to be able to use it in packages that have to be built before maven
+ Parsing JSON with 'ALLOW_MISSING_VALUE' enabled results in endless stream of 'VALUE_NULL' tokens
+ Handle case when system property access is restricted
+ 'FilteringGeneratorDelegate' does not handle 'writeString(Reader, int)'
+ DataFormatMatcher#getMatchedFormatName throws NPE when no match exists
+ 'JsonParser.getCurrentLocation()' byte/char offset update incorrectly for big payloads
jackson-databind - update from version 2.10.5.1 to version 2.13.0:
+ '@JsonValue' with integer for enum does not deserialize correctly
+ 'A
Fixed packages 61
| Release | Package | Fixed in |
|---|---|---|
| SUSE · Enterprise Storage 7 | jackson-annotations | 2.13.0-150200.3.6.1 |
| SUSE · Enterprise Storage 7 | jackson-core | 2.13.0-150200.3.6.1 |
| SUSE · Enterprise Storage 7 | jackson-databind | 2.13.0-150200.3.9.1 |
| SUSE · Enterprise Storage 7 | jackson-dataformats-binary | 2.13.0-150200.3.3.3 |
| openSUSE · Leap 15.3 | jackson-annotations | 2.13.0-150200.3.6.1 |
| openSUSE · Leap 15.3 | jackson-bom | 2.13.0-150200.3.3.1 |
| openSUSE · Leap 15.3 | jackson-core | 2.13.0-150200.3.6.1 |
| openSUSE · Leap 15.3 | jackson-databind | 2.13.0-150200.3.9.1 |
| openSUSE · Leap 15.3 | jackson-dataformats-binary | 2.13.0-150200.3.3.3 |
| openSUSE · Leap 15.4 | jackson-annotations | 2.13.0-150200.3.6.1 |
| openSUSE · Leap 15.4 | jackson-bom | 2.13.0-150200.3.3.1 |
| openSUSE · Leap 15.4 | jackson-core | 2.13.0-150200.3.6.1 |
| openSUSE · Leap 15.4 | jackson-databind | 2.13.0-150200.3.9.1 |
| openSUSE · Leap 15.4 | jackson-dataformats-binary | 2.13.0-150200.3.3.3 |
| SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-ESPOS | jackson-annotations | 2.13.0-150200.3.6.1 |
| SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-ESPOS | jackson-core | 2.13.0-150200.3.6.1 |
| SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-ESPOS | jackson-databind | 2.13.0-150200.3.9.1 |
| SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-ESPOS | jackson-dataformats-binary | 2.13.0-150200.3.3.3 |
| SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS | jackson-annotations | 2.13.0-150200.3.6.1 |
| SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS | jackson-core | 2.13.0-150200.3.6.1 |
| SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS | jackson-databind | 2.13.0-150200.3.9.1 |
| SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS | jackson-dataformats-binary | 2.13.0-150200.3.3.3 |
| SUSE · SLES 15 SP3 Linux Enterprise Module for Basesystem 15 SP3 | jackson-annotations | 2.13.0-150200.3.6.1 |
| SUSE · SLES 15 SP3 Linux Enterprise Module for Basesystem 15 SP3 | jackson-core | 2.13.0-150200.3.6.1 |
| SUSE · SLES 15 SP3 Linux Enterprise Module for Basesystem 15 SP3 | jackson-databind | 2.13.0-150200.3.9.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Basesystem 15 SP4 | jackson-annotations | 2.13.0-150200.3.6.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Basesystem 15 SP4 | jackson-core | 2.13.0-150200.3.6.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Basesystem 15 SP4 | jackson-databind | 2.13.0-150200.3.9.1 |
| SUSE · SLES 15 SP3 Linux Enterprise Module for Development Tools 15 SP3 | jackson-annotations | 2.13.0-150200.3.6.1 |
| SUSE · SLES 15 SP3 Linux Enterprise Module for Development Tools 15 SP3 | jackson-core | 2.13.0-150200.3.6.1 |
| SUSE · SLES 15 SP3 Linux Enterprise Module for Development Tools 15 SP3 | jackson-databind | 2.13.0-150200.3.9.1 |
| SUSE · SLES 15 SP3 Linux Enterprise Module for Development Tools 15 SP3 | jackson-dataformats-binary | 2.13.0-150200.3.3.3 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Development Tools 15 SP4 | jackson-dataformats-binary | 2.13.0-150200.3.3.3 |
| SUSE · SLE Real Time 15 SP2 Linux Enterprise Real Time 15 SP2 | jackson-annotations | 2.13.0-150200.3.6.1 |
| SUSE · SLE Real Time 15 SP2 Linux Enterprise Real Time 15 SP2 | jackson-core | 2.13.0-150200.3.6.1 |
| SUSE · SLE Real Time 15 SP2 Linux Enterprise Real Time 15 SP2 | jackson-databind | 2.13.0-150200.3.9.1 |
| SUSE · SLE Real Time 15 SP2 Linux Enterprise Real Time 15 SP2 | jackson-dataformats-binary | 2.13.0-150200.3.3.3 |
| SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-BCL | jackson-annotations | 2.13.0-150200.3.6.1 |
| SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-BCL | jackson-core | 2.13.0-150200.3.6.1 |
| SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-BCL | jackson-databind | 2.13.0-150200.3.9.1 |
| SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-BCL | jackson-dataformats-binary | 2.13.0-150200.3.3.3 |
| SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS | jackson-annotations | 2.13.0-150200.3.6.1 |
| SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS | jackson-core | 2.13.0-150200.3.6.1 |
| SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS | jackson-databind | 2.13.0-150200.3.9.1 |
| SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS | jackson-dataformats-binary | 2.13.0-150200.3.3.3 |
| SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 | jackson-annotations | 2.13.0-150200.3.6.1 |
| SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 | jackson-core | 2.13.0-150200.3.6.1 |
| SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 | jackson-databind | 2.13.0-150200.3.9.1 |
| SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 | jackson-dataformats-binary | 2.13.0-150200.3.3.3 |
| SUSE · Manager Proxy 4.1 | jackson-annotations | 2.13.0-150200.3.6.1 |
| SUSE · Manager Proxy 4.1 | jackson-core | 2.13.0-150200.3.6.1 |
| SUSE · Manager Proxy 4.1 | jackson-databind | 2.13.0-150200.3.9.1 |
| SUSE · Manager Proxy 4.1 | jackson-dataformats-binary | 2.13.0-150200.3.3.3 |
| SUSE · Manager Retail Branch Server 4.1 | jackson-annotations | 2.13.0-150200.3.6.1 |
| SUSE · Manager Retail Branch Server 4.1 | jackson-core | 2.13.0-150200.3.6.1 |
| SUSE · Manager Retail Branch Server 4.1 | jackson-databind | 2.13.0-150200.3.9.1 |
| SUSE · Manager Retail Branch Server 4.1 | jackson-dataformats-binary | 2.13.0-150200.3.3.3 |
| SUSE · Manager Server 4.1 | jackson-annotations | 2.13.0-150200.3.6.1 |
| SUSE · Manager Server 4.1 | jackson-core | 2.13.0-150200.3.6.1 |
| SUSE · Manager Server 4.1 | jackson-databind | 2.13.0-150200.3.9.1 |
| SUSE · Manager Server 4.1 | jackson-dataformats-binary | 2.13.0-150200.3.3.3 |
Vulnerabilities 3
-
High 7.5CVE-2020-25649 EPSS 18%
XML External Entity (XXE) Injection in Jackson Databind
A flaw was found in FasterXML Jackson Databind, where it did not have entity expansion secured properly. This flaw allows vulnerability to XML external entity (XXE) attacks. The highest threat from this vulnerability is data integrity.
-
High 7.5
Denial of Service (DoS)
This affects the package com.fasterxml.jackson.dataformat:jackson-dataformat-cbor from 0 and before 2.11.4, from 2.12.0-rc1 and before 2.12.1. Unchecked allocation of byte buffer can cause a java.lang.OutOfMemoryError exception.
-
High 7.5CVE-2020-36518 Public exploit
Deeply nested json in jackson-databind
jackson-databind before 2.13.0 allows a Java StackOverflow exception and denial of service via a large depth of nested objects.