Deserialization of Untrusted Data Affecting pki-deps:10.6/apache-commons-net package, versions <0:3.6-3.module+el8.3.0+6805+72837426


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.78% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-PKIDEPS-18270108
  • published23 Jul 2026
  • disclosed23 Jun 2026

Introduced: 23 Jun 2026

CVE-2026-54512  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade RHEL:8 pki-deps:10.6/apache-commons-net to version 0:3.6-3.module+el8.3.0+6805+72837426 or higher.
This issue was patched in RHSA-2026:44066.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pki-deps:10.6/apache-commons-net package and not the pki-deps:10.6/apache-commons-net package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. From 2.10.0 until 2.18.8, 2.21.4, and 3.1.4, jackson-databind's PolymorphicTypeValidator (PTV) is the primary safety mechanism guarding polymorphic deserialization. When polymorphic typing is enabled and a type identifier contains generic parameters (i.e. the type ID string contains <), DatabindContext._resolveAndValidateGeneric() validates only the raw container class name (the substring before <) against the configured PTV. If the container type is approved, the method parses the full canonical type string via TypeFactory.constructFromCanonical() and returns the fully parameterized type without ever validating the nested type arguments against the PTV. The nested type arguments are then resolved, instantiated, and populated as beans during deserialization. An attacker who controls the type ID can therefore place a denied class as a generic type parameter of an allowed container — for example java.util.ArrayList<com.evil.Gadget> when only java.util.ArrayList is allow-listed. The container passes the PTV check; com.evil.Gadget is loaded via Class.forName(name, true, loader), instantiated, and its properties are set from attacker-controlled JSON. This completely bypasses an explicitly configured PTV allow-list. This vulnerability is fixed in 2.18.8, 2.21.4, and 3.1.4.

CVSS Base Scores

version 3.1