public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jackson-core] f44: Rebase to jackson-core 2.18.12
@ 2026-10-30 11:02 Marco Fargetta
  0 siblings, 0 replies; only message in thread
From: Marco Fargetta @ 2026-10-30 11:02 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/jackson-core
            Branch : f44
            Commit : fe4de37850a36e2d10378603ec9f2f291195d49b
            Author : Marco Fargetta <mfargett@redhat.com>
            Date   : 2026-10-30T12:00:43+01:00
            Stats  : +28/-22 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/jackson-core/c/fe4de37850a36e2d10378603ec9f2f291195d49b?branch=f44

            Log:
            Rebase to jackson-core 2.18.12

Fixes: CVE-2026-89407
Fixes: CVE-2026-89425
Fixes: CVE-2026-68498

Resolves: rhbz#2542920
Resolves: rhbz#2539286
Resolves: rhbz#2558516

---
diff --git a/0001-Remove-ch.randelshofer.fastdoubleparser.patch b/0001-Remove-ch.randelshofer.fastdoubleparser.patch
index f500399..19ba795 100644
--- a/0001-Remove-ch.randelshofer.fastdoubleparser.patch
+++ b/0001-Remove-ch.randelshofer.fastdoubleparser.patch
@@ -154,23 +154,23 @@ index 5cef8dbb..4db891ea 100644
 +++ b/src/main/java/com/fasterxml/jackson/core/io/NumberInput.java
 @@ -1,8 +1,5 @@
  package com.fasterxml.jackson.core.io;
- 
+
 -import ch.randelshofer.fastdoubleparser.JavaDoubleParser;
 -import ch.randelshofer.fastdoubleparser.JavaFloatParser;
 -
  import java.math.BigDecimal;
  import java.math.BigInteger;
- import java.util.regex.Pattern;
-@@ -407,7 +404,7 @@ public final class NumberInput
+
+@@ -387,7 +384,7 @@ public final class NumberInput
       * @since v2.14
       */
      public static double parseDouble(final String s, final boolean useFastParser) throws NumberFormatException {
 -        return useFastParser ? JavaDoubleParser.parseDouble(s) : Double.parseDouble(s);
 +        return Double.parseDouble(s);
      }
- 
+
      /**
-@@ -432,8 +429,7 @@ public final class NumberInput
+@@ -412,8 +409,7 @@ public final class NumberInput
       */
      public static double parseDouble(final char[] array, final int offset,
                                       final int len, final boolean useFastParser) throws NumberFormatException {
@@ -178,9 +178,9 @@ index 5cef8dbb..4db891ea 100644
 -                Double.parseDouble(new String(array, offset, len));
 +        return Double.parseDouble(new String(array, offset, len));
      }
- 
+
      /**
-@@ -458,9 +454,6 @@ public final class NumberInput
+@@ -438,9 +434,6 @@ public final class NumberInput
       * @since v2.14
       */
      public static float parseFloat(final String s, final boolean useFastParser) throws NumberFormatException {
@@ -189,8 +189,8 @@ index 5cef8dbb..4db891ea 100644
 -        }
          return Float.parseFloat(s);
      }
- 
-@@ -486,8 +479,7 @@ public final class NumberInput
+
+@@ -466,8 +459,7 @@ public final class NumberInput
       */
      public static float parseFloat(final char[] array, final int offset,
                                     final int len, final boolean useFastParser) throws NumberFormatException {
@@ -198,9 +198,9 @@ index 5cef8dbb..4db891ea 100644
 -                Float.parseFloat(new String(array, offset, len));
 +        return Float.parseFloat(new String(array, offset, len));
      }
- 
+
      /**
-@@ -510,9 +502,6 @@ public final class NumberInput
+@@ -490,9 +482,6 @@ public final class NumberInput
       * @since v2.15
       */
      public static BigDecimal parseBigDecimal(final String s, final boolean useFastParser) throws NumberFormatException {
@@ -209,8 +209,8 @@ index 5cef8dbb..4db891ea 100644
 -        }
          return BigDecimalParser.parse(s);
      }
- 
-@@ -543,9 +532,6 @@ public final class NumberInput
+
+@@ -523,9 +512,6 @@ public final class NumberInput
                                               final boolean useFastParser)
              throws NumberFormatException
      {
@@ -219,8 +219,8 @@ index 5cef8dbb..4db891ea 100644
 -        }
          return BigDecimalParser.parse(ch, off, len);
      }
- 
-@@ -569,9 +555,6 @@ public final class NumberInput
+
+@@ -549,9 +535,6 @@ public final class NumberInput
       * @since v2.15
       */
      public static BigDecimal parseBigDecimal(final char[] ch, final boolean useFastParser) throws NumberFormatException {
@@ -229,8 +229,8 @@ index 5cef8dbb..4db891ea 100644
 -        }
          return BigDecimalParser.parse(ch);
      }
- 
-@@ -596,9 +579,6 @@ public final class NumberInput
+
+@@ -576,9 +559,6 @@ public final class NumberInput
       * @since v2.15
       */
      public static BigInteger parseBigInteger(final String s, final boolean useFastParser) throws NumberFormatException {
@@ -239,8 +239,8 @@ index 5cef8dbb..4db891ea 100644
 -        }
          return new BigInteger(s);
      }
- 
-@@ -612,9 +592,6 @@ public final class NumberInput
+
+@@ -592,9 +572,6 @@ public final class NumberInput
       */
      public static BigInteger parseBigIntegerWithRadix(final String s, final int radix,
              final boolean useFastParser) throws NumberFormatException {

diff --git a/jackson-core.spec b/jackson-core.spec
index 7cb61c2..05d5ab5 100644
--- a/jackson-core.spec
+++ b/jackson-core.spec
@@ -1,6 +1,6 @@
 Name:           jackson-core
-Version:        2.18.2
-Release:        6%{?dist}
+Version:        2.18.12
+Release:        1%{?dist}
 Summary:        Core part of Jackson
 License:        Apache-2.0
 
@@ -58,6 +58,12 @@ sed -i 's/\r//' LICENSE jackson-core-NOTICE
 %license LICENSE jackson-core-NOTICE
 
 %changelog
+* Fri Oct 30 2026 Dogtag PKI Team <devel@lists.dogtagpki.org> - 2.18.12-1
+- Rebase to 2.18.12
+- Fix CVE-2026-89407: Denial of Service via regular expression backtracking (rhbz#2542920)
+- Fix CVE-2026-89425: Denial of Service via unbounded StringBuilder growth during malformed token processing (rhbz#2539286)
+- Fix CVE-2026-68498: Denial of Service via excessively long JSON property names (rhbz#2558516)
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.18.2-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

diff --git a/sources b/sources
index 6494cf0..eff3dfc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (jackson-core-2.18.2.tar.gz) = 86e97b2550d7a04b6c31af856c3510934539e1f438e1c5e4d71457554f0c692d854ae5dddfd1a93fcd2ccb52cc0a9b9372f8daf816c6f7bf8fe3a318d30702bb
+SHA512 (jackson-core-2.18.12.tar.gz) = e5cc2d4cd89053c359411812954b73b1b037142ae7361844309d3407bf65c578d85edcc936bafc80d5b3c2108ab414240f75a91a78dd0b8dc6d90a1feb962708

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-30 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30 11:02 [rpms/jackson-core] f44: Rebase to jackson-core 2.18.12 Marco Fargetta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox