V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
coolair
V2EX  ›  问与答

Debian 7.6 如何修复那个 bash 漏洞?源里面没有 bash 更新啊!

  •  
  •   coolair · Sep 26, 2014 · 4335 views
    This topic created in 4234 days ago, the information mentioned may be changed or developed.
    9 replies    2014-09-26 12:25:38 +08:00
    reusFork
        1
    reusFork  
       Sep 26, 2014
    debian用的是dash,没影响
    764664
        2
    764664  
       Sep 26, 2014
    LZ没添加 security 源吧

    @reusFork 。。。
    j
        3
    j  
       Sep 26, 2014
    把这两行加到源里
    deb http://http.debian.net/debian squeeze-lts main contrib non-free
    deb-src http://http.debian.net/debian squeeze-lts main contrib non-free

    然后再
    apt-get update
    apt-get install -t squeeze-lts --only-upgrade bash
    coolair
        4
    coolair  
    OP
       Sep 26, 2014
    coolair
        5
    coolair  
    OP
       Sep 26, 2014
    @j 我用的是wheezy,不是squeeze。
    snachx
        6
    snachx  
       Sep 26, 2014
    @coolair 我的两台vps都是debian 7,一样用的官方源,昨天已经更新了,楼主可以再试一下
    msg7086
        7
    msg7086  
       Sep 26, 2014
    @reusFork 是否用dash,与是否有bash漏洞无关吧……
    reusFork
        8
    reusFork  
       Sep 26, 2014
    原来换回bash了,几年不用了…
    reusFork
        9
    reusFork  
       Sep 26, 2014
    不对,/bin/sh仍然指向/bin/dash,exec、system之类的系统调用用的还是dash,apache的cgi也是。这和$SHELL指向的interactive shell不是一回事
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   912 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 19:17 · PVG 03:17 · LAX 12:17 · JFK 15:17
    ♥ Do have faith in what you're doing.