【问题标题】:Use to use homebrew to upgrade to non-vulnerable version of git (CVE-2014-9390)用于使用 homebrew 升级到无漏洞版本的 git (CVE-2014-9390)
【发布时间】:2014-12-28 20:02:26
【问题描述】:

今天我通过自制软件 (brew install git) 安装了 git。它下载了 git 版本 2.1.2。

正在下载https://downloads.sf.net/project/machomebrew/Bottles/git-2.1.2.m

但是,当我运行heroku apps 时,我得到Your version of git is 2.1.2. Which has serious security vulnerabilities.

我认为 homebrew 会安装最新的修补版本,以解决最近的 git 安全漏洞 (https://blog.heroku.com/archives/2014/12/24/update_your_git_clients_on_windows_and_os_x)。

另外,当我运行brew update git 时,我得到Error: git-2.1.2 already installed

有什么想法吗?

【问题讨论】:

  • 您运行的是什么版本的 brew?可能想做brew update 以确保它都是最新的。
  • brew --version得到0.9.5。跑brew update 得到Updated Homebrew from bece3f72 to 7015739a. 然后跑brew upgrade git 和2.2.1 (https://downloads.sf.net/project/machomebrew/Bottles/git-2.2.1.mountain_lion.bottle.tar.gz)!!谢谢..您将其作为答案发布,以便我可以标记它?

标签: git heroku homebrew


【解决方案1】:

您需要通过运行brew update 确保您的 Homebrew 安装是最新的。这会更新 brew 本身和用于安装软件的配方。

【讨论】:

    猜你喜欢
    • 2019-05-16
    • 2012-09-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-10-21
    相关资源
    最近更新 更多