{"id":"UBUNTU-CVE-2020-24612","details":"An issue was discovered in the selinux-policy (aka Reference Policy) package 3.14 through 2020-08-24 because the .config/Yubico directory is mishandled. Consequently, when SELinux is in enforced mode, pam-u2f is not allowed to read the user's U2F configuration file. If configured with the nouserok option (the default when configured by the authselect tool), and that file cannot be read, the second factor is disabled. An attacker with only the knowledge of the password can then log in, bypassing 2FA.","modified":"2026-05-20T16:04:17.166051064Z","published":"2020-08-24T21:15:00Z","upstream":["CVE-2020-24612"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-24612"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1860888"},{"type":"REPORT","url":"https://github.com/fedora-selinux/selinux-policy/commit/71e1989028802c7875d3436fd3966c587fa383fb"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-24612"}],"affected":[{"package":{"name":"refpolicy","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/refpolicy?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:2.20110726-12","2:2.20110726-13","2:2.20131214-1","2:2.20140206-1"],"ecosystem_specific":{"binaries":[{"binary_name":"selinux-policy-default","binary_version":"2:2.20140206-1"},{"binary_name":"selinux-policy-mls","binary_version":"2:2.20140206-1"},{"binary_name":"selinux-policy-src","binary_version":"2:2.20140206-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"}},{"package":{"name":"refpolicy","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/refpolicy?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:2.20140421-9"],"ecosystem_specific":{"binaries":[{"binary_name":"selinux-policy-default","binary_version":"2:2.20140421-9"},{"binary_name":"selinux-policy-mls","binary_version":"2:2.20140421-9"},{"binary_name":"selinux-policy-src","binary_version":"2:2.20140421-9"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"}},{"package":{"name":"refpolicy","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/refpolicy?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:2.20161023.1-9","2:2.20161023.1-10","2:2.20171228-1","2:2.20180114-1"],"ecosystem_specific":{"binaries":[{"binary_name":"selinux-policy-default","binary_version":"2:2.20180114-1"},{"binary_name":"selinux-policy-mls","binary_version":"2:2.20180114-1"},{"binary_name":"selinux-policy-src","binary_version":"2:2.20180114-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"}},{"package":{"name":"refpolicy","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/refpolicy?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:2.20190201-4","2:2.20190201-5","2:2.20190201-6","2:2.20190201-7","2:2.20190201-8"],"ecosystem_specific":{"binaries":[{"binary_name":"selinux-policy-default","binary_version":"2:2.20190201-8"},{"binary_name":"selinux-policy-mls","binary_version":"2:2.20190201-8"},{"binary_name":"selinux-policy-src","binary_version":"2:2.20190201-8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"}},{"package":{"name":"refpolicy","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/refpolicy?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:2.20210203-7","2:2.20210203-9","2:2.20210203-10"],"ecosystem_specific":{"binaries":[{"binary_name":"selinux-policy-default","binary_version":"2:2.20210203-10"},{"binary_version":"2:2.20210203-10","binary_name":"selinux-policy-mls"},{"binary_version":"2:2.20210203-10","binary_name":"selinux-policy-src"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"}},{"package":{"name":"refpolicy","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/refpolicy?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:2.20230929-1","2:2.20231010-1","2:2.20231119-1","2:2.20231119-2","2:2.20240202-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2:2.20240202-1","binary_name":"selinux-policy-default"},{"binary_name":"selinux-policy-mls","binary_version":"2:2.20240202-1"},{"binary_name":"selinux-policy-src","binary_version":"2:2.20240202-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"}},{"package":{"name":"refpolicy","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/refpolicy?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:2.20241211-2","2:2.20250213-5","2:2.20250213-6","2:2.20250213-7","2:2.20250213-8","2:2.20250213-9","2:2.20250213-10"],"ecosystem_specific":{"binaries":[{"binary_version":"2:2.20250213-10","binary_name":"selinux-policy-default"},{"binary_version":"2:2.20250213-10","binary_name":"selinux-policy-mls"},{"binary_name":"selinux-policy-src","binary_version":"2:2.20250213-10"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"}},{"package":{"name":"refpolicy","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/refpolicy?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:2.20250213-10","2:2.20250213-11"],"ecosystem_specific":{"binaries":[{"binary_name":"selinux-policy-default","binary_version":"2:2.20250213-11"},{"binary_version":"2:2.20250213-11","binary_name":"selinux-policy-mls"},{"binary_version":"2:2.20250213-11","binary_name":"selinux-policy-src"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"low"}]}