Linux Security
    Linux Security
    Linux Security

    ArchLinux: 202004-5: pam-krb5: arbitrary code execution

    Date
    408
    Posted By
    The package pam-krb5 before version 4.9-1 is vulnerable to arbitrary code execution.
    Arch Linux Security Advisory ASA-202004-5
    =========================================
    
    Severity: Medium
    Date    : 2020-04-01
    CVE-ID  : CVE-2020-10595
    Package : pam-krb5
    Type    : arbitrary code execution
    Remote  : Yes
    Link    : https://security.archlinux.org/AVG-1119
    
    Summary
    =======
    
    The package pam-krb5 before version 4.9-1 is vulnerable to arbitrary
    code execution.
    
    Resolution
    ==========
    
    Upgrade to 4.9-1.
    
    # pacman -Syu "pam-krb5>=4.9-1"
    
    The problem has been fixed upstream in version 4.9.
    
    Workaround
    ==========
    
    None.
    
    Description
    ===========
    
    pam-krb5 before 4.9 has a buffer overflow that might cause remote code
    execution in situations involving supplemental prompting by a Kerberos
    library. It may overflow a buffer provided by the underlying Kerberos
    library by a single '\0' byte if an attacker responds to a prompt with
    an answer of a carefully chosen length. The effect may range from heap
    corruption to stack corruption depending on the structure of the
    underlying Kerberos library, with unknown effects but possibly
    including code execution.
    This code path is not used for normal authentication, but only when the
    Kerberos library does supplemental prompting, such as with PKINIT or
    when using the non-standard no_prompt PAM configuration option.
    
    Impact
    ======
    
    A remote attacker is able to execute arbitrary code on the affected
    host.
    
    References
    ==========
    
    https://mailman.mit.edu/pipermail/kerberos/2020-March/022444.html
    https://www.openwall.com/lists/oss-security/2020/03/31/1
    https://www.eyrie.org/~eagle/software/pam-krb5/security/2020-03-30.html
    https://github.com/rra/pam-krb5/commit/b57c2ee992ae2309e7866e89caef2a4870722435
    https://security.archlinux.org/CVE-2020-10595
    
    

    LinuxSecurity Poll

    How are you contributing to Open Source?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 4 answer(s).
    /main-polls/37-how-are-you-contributing-to-open-source?task=poll.vote&format=json
    37
    radio
    [{"id":"127","title":"I'm involved with the development of an open-source project(s).","votes":"2","type":"x","order":"1","pct":100,"resources":[]},{"id":"128","title":"I've reported vulnerabilities I've discovered in open-source code.","votes":"0","type":"x","order":"2","pct":0,"resources":[]},{"id":"129","title":"I've provided developers with feedback on their projects.","votes":"0","type":"x","order":"3","pct":0,"resources":[]},{"id":"130","title":"I've helped another community member get started contributing to Open Source.","votes":"0","type":"x","order":"4","pct":0,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350


    VIEW MORE POLLS

    bottom 200

    Please enable / Bitte aktiviere JavaScript!
    Veuillez activer / Por favor activa el Javascript![ ? ]

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.