Spring Boot actuator heapdump存在未授权漏洞

漏洞详情

Spring Boot actuator heapdump存在未授权漏洞

修复方式

gateway原有配置

Spring Boot actuator heapdump存在未授权漏洞

修改为以下内容

Spring Boot actuator heapdump存在未授权漏洞

management:
  endpoints:
    web:
      exposure:
        include: []  # 禁用所有Web端点
  endpoint:
    health:
      show-details: never  # 健康检查不显示详情

如果开放个别路径,可以在include处具体添加。

© 版权声明
THE END
如果内容对您有所帮助,就支持一下吧!
点赞0 分享
聆禀的头像 - 宋马
评论 抢沙发

请登录后发表评论

    暂无评论内容