Vulnérabilité dans tools.jackson.core:jackson-core (CVE-2026-18401)
Résumé
Vulnérabilité dans tools.jackson.core:jackson-core (CVE-2026-18401). Risque d'opérations non autorisées ou de divulgation. Exploitable via maxNumberLength. Atténuation : mise à jour vers 3.1.0 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
The non-blocking (asynchronous) JSON parser in jackson-core does not enforce the maxNumberLength constraint defined in StreamReadConstraints (default: 1000 characters). An attacker able to submit JSON to an application that uses the async parser API can supply a number token of arbitrary length, leading to excessive memory allocation and potential CPU exhaustion, resulting in a denial of service.
The synchronous parser enforces this limit correctly, so the constraint is applied inconsistently depending on which parsing API the application uses.
Root cause: the async parsing path in NonBlockingUtf8JsonParserBase and related classes never invokes the number length validation methods. Number parsing methods such as _finishNumberIntegralPart() accumulate digits into the TextBuffer without any length check, then call _valueComplete() to finalize the token. _valueComplete() does not call resetInt() or resetFloat(), which are the methods in ParserBase where validateIntegerLength() and validateFPLength() are performed. Because that validation step is skipped, maxNumberLength is never enforced on the async code path.
Impact: an attacker sending a JSON document containing an arbitrarily long number to an application using the async parser (for example a Spring WebFlux or other reactive application) can cause unbounded allocation in the TextBuffer and an OutOfMemoryError. If the application subsequently calls getBigIntegerValue() or getDecimalValue(), the JVM may additionally be tied…
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-18401 a été découverte dans tools.jackson.core:jackson-core.
Des attaquants peuvent cibler un point d'entrée spécifique comme maxNumberLength à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation.
Action : mettez à jour tools.jackson.core:jackson-core vers 3.1.0 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « tools.jackson.core:jackson-core CVE-2026-18401 » sur le site de l'éditeur.
CVE-2026-18401 (tools.jackson.core:jackson-core) — CWE-770
Surface d'attaque : maxNumberLength / StreamReadConstraints / NonBlockingUtf8JsonParserBase / _finishNumberIntegralPart
Correctif : 3.1.0 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-770) affecte tools.jackson.core:jackson-core. Les attaquants atteignent le code vulnérable via maxNumberLength.
Consultez l'avis de l'éditeur pour les versions affectées de tools.jackson.core:jackson-core. Surface d'attaque : maxNumberLength / StreamReadConstraints / NonBlockingUtf8JsonParserBase / _finishNumberIntegralPart.
Gravité : ?. Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 3.1.0.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで tools.jackson.core:jackson-core を使っているサービスとバージョンを洗い出す。
-
2Apply patch patch
Upgrade tools.jackson.core:jackson-core to 3.1.0ステージング環境で 3.1.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
État des correctifs par distribution
Paquets corrigés publiés par chaque distribution pour cette CVE
- Debian DEBIAN-CVE-2026-18401 jackson-core
- Ubuntu UBUNTU-CVE-2026-18401 jackson-core
Références
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web repo.maven.apache.org