Ohhnews

分类导航

$ cd ..
Spring Blog原文

Spring Cloud 2025.1.3(Oakwood)正式发布

#spring cloud#微服务#安全更新#漏洞修复#版本发布

我谨代表社区宣布,Spring Cloud 2025.1.3 版本列车(Release Train)现已正式发布(GA)。该版本可在 Maven Central 中获取。您可以查看 2025.1.3 发布说明 了解更多信息。

2025.1.3 版本列车的重要变更

本版本基于 Spring Boot 4.0.8

Spring Cloud Circuitbreaker

  • 不再使用 Resilience4JCircuitBreakerFactory 中 TimeLimiterConfig 的默认配置(#284

Spring Cloud Commons

  • 修复 CVE-2026-59284:Spring Cloud Commons 对可写 env actuator 端点缺少允许列表
  • Bouncycastle 已升级到 1.85.2,Spring Cloud Commons 现在在 34d9ec2 中使用 Bouncycastle BOM
  • 不再递归尝试重置库类型的配置属性(#1699
  • 如果没有默认构造函数,则跳过将 Bean 重置为默认值(#1701
  • 重新绑定时自动装配 Bean(#1720

Spring Cloud Config

  • 修复 CVE-2026-47836:Spring Cloud Config Server 使用 SVN 时容易受到 TOCTOU 攻击
  • 修复 CVE-2026-47837:Spring Cloud Config Server 监控端点未校验 Webhook 请求
  • 修复 CVE-2026-47894:Spring Cloud Config Server 原生环境仓库暴露
  • 修复 CVE-2026-59315:Spring Cloud Config Monitor 拒绝服务
  • 在 AWS S3 存储桶中支持带通配符的 Git 风格 searchPaths(#2958

Spring Cloud Consul

  • 为 eventList 添加必填参数注解(#1000

Spring Cloud Function

  • 修复 CVE-2026-59291:Spring Cloud Function 中可能存在任意文件读取和 SSRF 漏洞
  • 修复 CVE-2026-59297:Spring Cloud Function 可能错误判断 URI 是否安全
  • 修复 CVE-2026-59298:Spring Cloud Function 对 HTTP 头的过滤可能不当
  • 修复 CVE-2026-59299:组合查找可能会污染 Spring Cloud Function 中的基础函数
  • 修复 CVE-2026-59300:Spring Cloud Function AWS 中可能存在记录敏感数据的风险
  • 修复 CVE-2026-59301:Spring Cloud Function Azure 中可能存在记录敏感数据的风险

Spring Cloud Gateway

  • 修复 CVE-2026-47879:Spring Cloud Gateway 使用 gRPC 时存在 SSRF 和本地文件访问问题
  • 新增 MVC 重试退避支持(#4225

Spring Cloud Stream

  • 修复 CVE-2026-59302:Spring Cloud Stream 中可能存在记录敏感数据的风险
  • 修复 CVE-2026-59303:Spring Cloud Stream 中动态目标缓存大小未正确绑定
  • 修复 CVE-2026-59304:Spring Cloud Stream Avro 中原始内容类型的缓存不当
  • 修复 CVE-2026-59305:发送消息时可能错误添加分区拦截器
  • 修复 CVE-2026-59306:Spring Cloud Stream 中可能存在反序列化不可信类型的风险

2025.1.3 中包含以下模块更新:

模块版本相关 Issues
Spring Cloud Build5.0.3(问题)
Spring Cloud Bus5.0.3(问题)
Spring Cloud Circuitbreaker5.0.3(问题)
Spring Cloud Commons5.0.3(问题)
Spring Cloud Config5.0.5(问题)
Spring Cloud Consul5.0.3(问题)
Spring Cloud Function5.0.4(问题)
Spring Cloud Gateway5.0.3(问题)
Spring Cloud Kubernetes5.0.3(问题)
Spring Cloud Openfeign5.0.3(问题)
Spring Cloud Starter Build2025.1.3(问题)
Spring Cloud Stream5.0.3(问题)

和往常一样,我们欢迎您通过 GitHubGitterStack OverflowTwitter 提供反馈。

要通过带 BOM 的 Maven 开始使用(仅依赖管理):

$ xml
<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>2025.1.3</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>
<dependencies>
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-config</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
    </dependency>
    ...
</dependencies>

或使用 Gradle:

$ groovy
buildscript {
    dependencies {
        classpath "io.spring.gradle:dependency-management-plugin:1.0.2.RELEASE"
    }
}

apply plugin: "io.spring.dependency-management"

dependencyManagement {
    imports {
        mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2025.1.3'
    }
}

dependencies {
    compile 'org.springframework.cloud:spring-cloud-starter-config'
    compile 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
    ...
}