Autorisation incorrecte dans com.fasterxml.jackson.core:jackson-databind (CVE-2026-59889)
Résumé
Vulnérabilité dans com.fasterxml.jackson.core:jackson-databind (CVE-2026-59889). Les données peuvent être altérées par des attaquants. Exploitable via BeanDeserializer.deserializeWithUnwrapped. Atténuation : mise à jour vers 2.22.1 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
UnwrappedPropertyHandler.processUnwrapped() replays the buffered JSON for a @JsonUnwrapped property by iterating its properties and calling prop.deserializeAndSet() with no prop.visibleInView(ctxt.getActiveView()) guard — the exact guard processUnwrappedCreatorProperties() received in the #5971 / GHSA-rcqc-6cw3-h962 fix, and the guard BeanDeserializer.deserializeWithUnwrapped applies to directly-matched properties. As a result, a property annotated with both @JsonView(PrivilegedView.class) and @JsonUnwrapped is written from attacker JSON even when deserializing under a more-restrictive active view.
Correction to the original framing (runtime-verified): the gap is NOT a per-field inner @JsonView (the unwrapped sub-object's own BeanDeserializer gates inner fields correctly). The unchecked gate is the view of the unwrapped CONTAINER property.
Intent proof (runtime, 2.x HEAD 21dd70dd and 3.x HEAD 7a5939d6)
An @JsonView(AdminView) property that is NOT @JsonUnwrapped → null under PublicView (correctly gated). The identical property WITH @JsonUnwrapped → fully populated (bypass). The fix the creator path already received, not applied to the regular-property method.
Impact — write-side mass-assignment / privilege escalation
@JsonView is commonly used as a write-side authorization guard: a public endpoint binds the body under readerWithView(PublicView.class) and groups privileged state in a nested object whose container…
Source: NIST National Vulnerability Database 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-59889 a été découverte dans com.fasterxml.jackson.core:jackson-databind.
Des attaquants peuvent cibler un point d'entrée spécifique comme BeanDeserializer.deserializeWithUnwrapped à distance pour détourner le produit.
Les données peuvent être altérées par des attaquants. Score CVSS : 6.5/10.
Action : mettez à jour com.fasterxml.jackson.core:jackson-databind vers 2.22.1 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « com.fasterxml.jackson.core:jackson-databind CVE-2026-59889 » sur le site de l'éditeur.
CVE-2026-59889 (com.fasterxml.jackson.core:jackson-databind) — CWE-863 / CVSS v3 6.5
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : BeanDeserializer.deserializeWithUnwrapped / BeanDeserializer / null / PublicView
Correctif : 2.22.1 — 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 autorisation incorrecte (CWE-863) affecte com.fasterxml.jackson.core:jackson-databind. Les attaquants atteignent le code vulnérable via BeanDeserializer.deserializeWithUnwrapped.
Consultez l'avis de l'éditeur pour les versions affectées de com.fasterxml.jackson.core:jackson-databind. Surface d'attaque : BeanDeserializer.deserializeWithUnwrapped / BeanDeserializer / null / PublicView.
Gravité : Moyenne (CVSS 6.5/10). Les données peuvent être altérées par des attaquants.
Mettre à jour vers 2.22.1.
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・依存マニフェストで com.fasterxml.jackson.core:jackson-databind を使っているサービスとバージョンを洗い出す。
-
2Apply patch patch
Upgrade com.fasterxml.jackson.core:jackson-databind to 2.22.1ステージング環境で 2.22.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
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
- Ubuntu UBUNTU-CVE-2026-59889 jackson-databind
Références
- web github.com
- web github.com
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com