Spring Integrationの Redisキュー連携で任意のコードを実行される脆弱性
Summary
Spring IntegrationのRedisキュー用エンドポイントは、既定の設定では安全でないJavaのデシリアライズを行います。Redisのリストに細工されたデータを書き込まれると、アプリケーションのプロセス内で任意のクラスが処理され、遠隔からコードを実行される可能性があります。影響は7.1.3未満、7.0.8未満、6.5.12未満、6.4.14未満、5.5.23未満の各系統に及ぶため、各系統の修正版への更新を確認してください。
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のRedisキュー用エンドポイントは、既定の設定では安全でないJavaのデシリアライズを行います。Redisのリストに細工されたデータを書き込まれると、アプリケーションのプロセス内で任意のクラスが処理され、遠隔からコードを実行される可能性があります。影響は7.1.3未満、7.0.8未満、6.5.12未満、6.4.14未満、5.5.23未満の各系統に及ぶため、各系統の修正版への更新を確認してください。
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 < 5.5.23→ 5.5.23 ≥ 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 5.5.23 7.1.3 7.0.8 |
Original description The description as published by the source.
Spring Integration Redis queue endpoints use unrestricted Java deserialization by default. RedisQueueMessageDrivenEndpoint and RedisQueueInboundGateway deserialize data read from Redis lists, while RedisQueueOutboundGateway deserializes replies, using JdkSerializationRedisSerializer unless an application configures another serializer.
An attacker who can write crafted serialized data to a Redis list consumed by one of these endpoints can trigger deserialization of arbitrary classes. If a suitable gadget chain is present on the application's classpath, this can lead to remote code execution in the application process.
Applications are affected when they use one of these Redis queue endpoints with its default serializer and allow an untrusted or compromised client to write to the relevant Redis list.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web spring.io
- web nvd.nist.gov
- web nvd.nist.gov
- web github.com