Linux Security
    Linux Security
    Linux Security

    Mageia 2021-0042: sudo security update

    Date 17 Jan 2021
    655
    Posted By LinuxSecurity Advisories
    The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning a sudo_edit.c race condition in replacing a user-controlled directory by a symlink to an arbitrary path. (CVE-2021-23239).
    MGASA-2021-0042 - Updated sudo packages fix security vulnerabilities
    
    Publication date: 17 Jan 2021
    URL: https://advisories.mageia.org/MGASA-2021-0042.html
    Type: security
    Affected Mageia releases: 7
    CVE: CVE-2021-23239,
         CVE-2021-23240
    
    The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged
    user to perform arbitrary directory-existence tests by winning a sudo_edit.c
    race condition in replacing a user-controlled directory by a symlink to an
    arbitrary path. (CVE-2021-23239).
    
    selinux_edit_copy_tfiles in sudoedit in Sudo before 1.9.5 allows a local
    unprivileged user to gain file ownership and escalate privileges by replacing
    a temporary file with a symlink to an arbitrary file target. This affects
    SELinux RBAC support in permissive mode. Machines without SELinux are not
    vulnerable. (CVE-2021-23240).
    
    References:
    - https://bugs.mageia.org/show_bug.cgi?id=28067
    - https://www.openwall.com/lists/oss-security/2021/01/11/2
    - https://www.sudo.ws/stable.html
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23239
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23240
    
    SRPMS:
    - 7/core/sudo-1.9.5-1.mga7
    

    LinuxSecurity Poll

    Which is the best secure Linux distro for pentesting?

    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 3 answer(s).
    /main-polls/50-which-is-the-best-secure-linux-distro-for-pentesting?task=poll.vote&format=json
    50
    radio
    [{"id":"174","title":"Kali Linux","votes":"6","type":"x","order":"1","pct":54.55,"resources":[]},{"id":"175","title":"Parrot OS","votes":"5","type":"x","order":"2","pct":45.45,"resources":[]},{"id":"176","title":"BlackArch Linux","votes":"0","type":"x","order":"3","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

    Please vote first in order to view vote results.


    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.