Spring Integrationで許可リストが無効化され任意の型をデシリアライズされる脆弱性
Summary
Spring IntegrationのJdbcMessageStoreで、addAllowedPatterns()に設定した許可リストが無効になり、クラスパス上の任意の型がデシリアライズされる脆弱性です。CVSSは8で、7.1.2.1未満、7.0.7.1未満、6.5.12未満、6.4.14未満、7.1.3未満、7.0.8未満が影響を受けます。修正版は7.1.2.1、7.0.7.1、6.5.12、6.4.14、7.1.3、7.0.8です。対象の版を使っている場合は、修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Spring IntegrationのJdbcMessageStoreで、addAllowedPatterns()に設定した許可リストが無効になり、クラスパス上の任意の型がデシリアライズされる脆弱性です。CVSSは8で、7.1.2.1未満、7.0.7.1未満、6.5.12未満、6.4.14未満、7.1.3未満、7.0.8未満が影響を受けます。修正版は7.1.2.1、7.0.7.1、6.5.12、6.4.14、7.1.3、7.0.8です。対象の版を使っている場合は、修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SpringSpring Integration |
≥ 7.1.0, < 7.1.2.1→ 7.1.2.1 ≥ 7.0.0, < 7.0.7.1→ 7.0.7.1 ≥ 6.5.0, < 6.5.12→ 6.5.12 ≥ 6.4.0, < 6.4.14→ 6.4.14 ≥ 7.1.0, < 7.1.3→ 7.1.3 ≥ 7.0.0, < 7.0.8→ 7.0.8 |
7.1.2.1 7.0.7.1 6.5.12 6.4.14 7.1.3 7.0.8 |
Original description The description as published by the source.
The fix for CVE-2026-59307 introduced a regression in JdbcMessageStore . When the store is configured as a or via @Bean , the Spring container populates properties (including addAllowedPatterns() ) before invoking the BeanClassLoaderAware callback. setBeanClassLoader() then replaces the deserializer with a new, empty AllowListDeserializingConverter and rebinds the message row mapper to it, discarding the previously registered allowed patterns. Since an empty allow-list permits all types, the store deserializes any class present on the classpath from the INT_MESSAGE.MESSAGE_CONTENT column, silently defeating the allow-list the operator configured.
Applications are affected if they use JdbcMessageStore with an allow-list of deserializable types configured through addAllowedPatterns() on a Spring-managed bean, and an attacker is able to write to the message store table.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web spring.io
- web nvd.nist.gov
- web nvd.nist.gov
- web github.com