p PatchFirst

SUSE-SU-2022:1678-1

SUSE-SU-2022:1678-1 · SUSE security update: jackson-databind, jackson-dataformats-binary, jackson-annotations, jackson-bom, jackson-core

Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • jackson-annotations SUSE Linux Enterprise Module for Basesystem 15 SP3Update to 2.13.0-150200.3.6.1
  • jackson-core SUSE Linux Enterprise Module for Basesystem 15 SP3Update to 2.13.0-150200.3.6.1
  • jackson-databind SUSE Linux Enterprise Module for Basesystem 15 SP3Update to 2.13.0-150200.3.9.1
  • jackson-annotations SUSE Linux Enterprise Module for Basesystem 15 SP4Update to 2.13.0-150200.3.6.1
  • and 20 more

Check the installed version:

rpm -q jackson-annotations
rpm -q jackson-core
rpm -q jackson-databind

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from the distribution’s bulletin. Check the original advisory before installing the update.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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 + 'AnnotatedMethod.getValue()/setValue()' doesn't have useful exception message + Add 'DatabindException' as intermediate subtype of 'JsonMappingException' + Jackson does not support deserializing new Java 9 unmodifiable collections + Allocate TokenBuffer instance via context objects (to allow format-specific buffer types) + Add mechanism for setting default 'ContextAttributes' for 'ObjectMapper' + Add 'DeserializationContext.readTreeAsValue()' methods for more convenient conversions for deserializers to use + Clean up support of typed 'unmodifiable', 'singleton' Maps/Sets/Collections + Extend internal bitfield of 'MapperFeature' to be 'long' + Add 'removeMixIn()' method in 'MapperBuilder' + Backport 'MapperBuilder' lambda-taking methods: 'withConfigOverride()', 'withCoercionConfig()', 'withCoercionConfigDefaults()' + configOverrides(boolean.class) silently ignored, whereas .configOverride(Boolean.class) works for both primitives and boxed boolean values + Dont track unknown props in buffer if 'ignoreAllUnknown' is true + Should allow deserialization of java.time types via opaque 'JsonToken.VALUE_EMBEDDED_OBJECT' + Optimize 'AnnotatedConstructor.call()' case by passing explicit null + Add AnnotationIntrospector.XmlExtensions interface for decoupling javax dependencies + Custom SimpleModule not included in list returned by ObjectMapper.getRegisteredModuleIds() after registration + Use more limiting default visibility settings for JDK types (java.*, javax.*) + Deep merge for 'JsonNode' using 'ObjectReader.readTree()' + IllegalArgumentException: Conflicting setter definitions for property with more than 2 setters + Serializing java.lang.Thread fails on JDK 11 and above + String-based 'Map' key deserializer is not deterministic when there is no single arg constructor + Add ArrayNode#set(int index, primitive_type value

Published
Updated

Vulnerabilities closed

Stack: system

Updated packages and versions

  • jackson-annotations SUSE Linux Enterprise Module for Basesystem 15 SP3

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.6.1

    Update to 2.13.0-150200.3.6.1

  • jackson-core SUSE Linux Enterprise Module for Basesystem 15 SP3

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.6.1

    Update to 2.13.0-150200.3.6.1

  • jackson-databind SUSE Linux Enterprise Module for Basesystem 15 SP3

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.9.1

    Update to 2.13.0-150200.3.9.1

  • jackson-annotations SUSE Linux Enterprise Module for Basesystem 15 SP4

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.6.1

    Update to 2.13.0-150200.3.6.1

  • jackson-core SUSE Linux Enterprise Module for Basesystem 15 SP4

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.6.1

    Update to 2.13.0-150200.3.6.1

  • jackson-databind SUSE Linux Enterprise Module for Basesystem 15 SP4

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.9.1

    Update to 2.13.0-150200.3.9.1

  • jackson-annotations SUSE Linux Enterprise Module for Development Tools 15 SP3

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.6.1

    Update to 2.13.0-150200.3.6.1

  • jackson-core SUSE Linux Enterprise Module for Development Tools 15 SP3

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.6.1

    Update to 2.13.0-150200.3.6.1

  • jackson-databind SUSE Linux Enterprise Module for Development Tools 15 SP3

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.9.1

    Update to 2.13.0-150200.3.9.1

  • jackson-dataformats-binary SUSE Linux Enterprise Module for Development Tools 15 SP3

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.3.3

    Update to 2.13.0-150200.3.3.3

  • jackson-dataformats-binary SUSE Linux Enterprise Module for Development Tools 15 SP4

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.3.3

    Update to 2.13.0-150200.3.3.3

  • jackson-annotations SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.6.1

    Update to 2.13.0-150200.3.6.1

  • jackson-core SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.6.1

    Update to 2.13.0-150200.3.6.1

  • jackson-databind SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.9.1

    Update to 2.13.0-150200.3.9.1

  • jackson-dataformats-binary SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.3.3

    Update to 2.13.0-150200.3.3.3

  • jackson-annotations SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.6.1

    Update to 2.13.0-150200.3.6.1

  • jackson-core SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.6.1

    Update to 2.13.0-150200.3.6.1

  • jackson-databind SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.9.1

    Update to 2.13.0-150200.3.9.1

  • jackson-dataformats-binary SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.3.3

    Update to 2.13.0-150200.3.3.3

  • jackson-annotations SUSE Linux Enterprise Real Time 15 SP2

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.6.1

    Update to 2.13.0-150200.3.6.1

  • jackson-core SUSE Linux Enterprise Real Time 15 SP2

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.6.1

    Update to 2.13.0-150200.3.6.1

  • jackson-databind SUSE Linux Enterprise Real Time 15 SP2

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.9.1

    Update to 2.13.0-150200.3.9.1

  • jackson-dataformats-binary SUSE Linux Enterprise Real Time 15 SP2

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.3.3

    Update to 2.13.0-150200.3.3.3

  • jackson-annotations SUSE Linux Enterprise Server 15 SP2-BCL

    Affected ranges
    • ECOSYSTEM: < 2.13.0-150200.3.6.1

    Update to 2.13.0-150200.3.6.1

Original sources

Check your server →