jenkins - 更新 Jenkins 插件的问题

标签 jenkins plugins notifications warnings updates

我使用的是 Jenkins 版本 2.176,使用独立 war 。

然后我在这里收到了插件的安全漏洞警报:https://jenkins.io/security/advisory/2020-03-09/

然后我决定更新 Jenkins,因此我下载并使用最新版本启动 Jenkins:Jenkins 版本。 2.224

然后我更新了所有插件并重新启动。

但是,在监视器下,我看到两个通知。

第一个通知说:

"You have data stored in an older format and/or unreadable data."

enter image description here

第二个通知显示:

"Warnings have been published for the following currently installed components."

Build Pipeline Plugin 1.5.8 Stored XSS vulnerability Environment Injector Plugin 2.3.0 Exposure of sensitive build variables stored by EnvInject 1.90 and earlier

enter image description here

在插件更新选项卡下,我没有找到任何更新的插件!!

您能否建议我如何克服这两个问题?

最佳答案

截至目前,尚无可用的易受攻击插件的新版本。

The XSS Vulnerability for the Build Pipeline Plugin is only exploitable on Jenkins releases older than 2.146 or 2.138.2

对于环境注入(inject)器插件漏洞:

To prevent the further exposure of sensitive build variables, we recommend that you take the following steps if you are affected by this:

  • Disable the visualization of Injected Environment variables in the global configuration. After this change the data will be accessible only to those ones who have access to raw build.xml files. This is a reversible action that can be applied immediately, and can be reverted once you’ve purged the data on disk (below).
  • Remove the sensitive data from disk by manually removing corresponding entries from injectedEnvVars.txt files, or deleting the injectedEnvVars.txt files in old build directories.
  • Rotate all secrets that have potentially been exposed

来自 Security Advisory 2018-02-26

关于jenkins - 更新 Jenkins 插件的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60611851/

相关文章:

iphone - IOS 中的警报通知

swift - 本地通知是否需要 iOS 上的用户权限?

ios - 从 Jenkins 运行 iOS UIAutomation 测试

ios - 从命令行运行单元测试时的 SSL 连接问题

ruby-on-rails - 如何将独立维护的 ruby​​ 脚本合并到 Rails 应用程序中

javascript - HTML5 - 开发可插件应用程序

ios - 是否可以在 ios 上打开/关闭来自不同应用程序的通知

git - 创建或删除 git 分支时在 Jenkins 中触发构建

python - Jenkins 主/从窗口

Java - 动态加载类