Skip to content
Heist/ feed
Back to feed
Medium

refpolicy — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2020-24612

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.

Products
refpolicy
Affected versions
2:2.20110726-12, 2:2.20110726-13, 2:2.20131214-1, 2:2.20140206-1, 2:2.20140421-9, 2:2.20161023.1-10, 2:2.20161023.1-9, 2:2.20171228-1, 2:2.20180114-1, 2:2.20190201-4, 2:2.20190201-5, 2:2.20190201-6, 2:2.20190201-7, 2:2.20190201-8, 2:2.20210203-10, 2:2.20210203-7, 2:2.20210203-9, 2:2.20230929-1, 2:2.20231010-1, 2:2.20231119-1, 2:2.20231119-2, 2:2.20240202-1, 2:2.20241211-2, 2:2.20250213-10, 2:2.20250213-11, 2:2.20250213-13, 2:2.20250213-5, 2:2.20250213-6, 2:2.20250213-7, 2:2.20250213-8, 2:2.20250213-9, 2:2.20260804-1, 2:2.20260929-1
Fixed versions
Not specified
CVEs
CVE-2020-24612
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:29 UTC · Revision 1

Source evidence

UBUNTU-CVE-2020-24612

core-osv · Original source

Published 24 Aug 2020, 21:15 UTC

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.

osv:UBUNTU-CVE-2020-24612

refpolicy

Fixed versions: Not specified

refpolicy

Fixed versions: Not specified

refpolicy

Fixed versions: Not specified

refpolicy

Fixed versions: Not specified

refpolicy

Fixed versions: Not specified

refpolicy

Fixed versions: Not specified

refpolicy

Fixed versions: Not specified

refpolicy

Fixed versions: Not specified

refpolicy

Fixed versions: Not specified

Complete source record
{
  "id": "bf3e641c209b3ce37285e1a35f5d4758fc0a3822a56e15504ed6ec9dec5ac890",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-24612",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2020-24612",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2020-24612",
    "products": [
      {
        "name": {
          "value": "refpolicy",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2:2.20110726-12",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2:2.20110726-13",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2:2.20131214-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2:2.20140206-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "refpolicy",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2:2.20140421-9",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "refpolicy",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2:2.20161023.1-9",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2:2.20161023.1-10",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2:2.20171228-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2:2.20180114-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "refpolicy",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2:2.20190201-4",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2:2.20190201-5",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2:2.20190201-6",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2:2.20190201-7",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2:2.20190201-8",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "refpolicy",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2:2.20210203-7",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2:2.20210203-9",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2:2.20210203-10",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "refpolicy",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2:2.20230929-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2:2.20231010-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2:2.20231119-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2:2.20231119-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2:2.20240202-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "refpolicy",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2:2.20241211-2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2:2.20250213-5",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2:2.20250213-6",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2:2.20250213-7",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2:2.20250213-8",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2:2.20250213-9",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2:2.20250213-10",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "refpolicy",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2:2.20250213-11",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2:2.20250213-13",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2:2.20260804-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2:2.20260929-1",
            "evidence": "/affected/7/versions"
          }
        ]
      },
      {
        "name": {
          "value": "refpolicy",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2:2.20250213-10",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "2:2.20250213-11",
            "evidence": "/affected/8/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2020-24612",
      "aliases": [
        "UBUNTU-CVE-2020-24612"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "refpolicy",
            "purl": "pkg:deb/ubuntu/refpolicy?arch=source&distro=trusty",
            "ecosystem": "Ubuntu:14.04:LTS"
          },
          "versions": [
            "2:2.20110726-12",
            "2:2.20110726-13",
            "2:2.20131214-1",
            "2:2.20140206-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"
          },
          "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"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "refpolicy",
            "purl": "pkg:deb/ubuntu/refpolicy?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "2:2.20140421-9"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"
          },
          "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"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "refpolicy",
            "purl": "pkg:deb/ubuntu/refpolicy?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "2:2.20161023.1-9",
            "2:2.20161023.1-10",
            "2:2.20171228-1",
            "2:2.20180114-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"
          },
          "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"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "refpolicy",
            "purl": "pkg:deb/ubuntu/refpolicy?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "2:2.20190201-4",
            "2:2.20190201-5",
            "2:2.20190201-6",
            "2:2.20190201-7",
            "2:2.20190201-8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"
          },
          "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"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "refpolicy",
            "purl": "pkg:deb/ubuntu/refpolicy?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "2:2.20210203-7",
            "2:2.20210203-9",
            "2:2.20210203-10"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "selinux-policy-default",
                "binary_version": "2:2.20210203-10"
              },
              {
                "binary_name": "selinux-policy-mls",
                "binary_version": "2:2.20210203-10"
              },
              {
                "binary_name": "selinux-policy-src",
                "binary_version": "2:2.20210203-10"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "refpolicy",
            "purl": "pkg:deb/ubuntu/refpolicy?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "2:2.20230929-1",
            "2:2.20231010-1",
            "2:2.20231119-1",
            "2:2.20231119-2",
            "2:2.20240202-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "selinux-policy-default",
                "binary_version": "2:2.20240202-1"
              },
              {
                "binary_name": "selinux-policy-mls",
                "binary_version": "2:2.20240202-1"
              },
              {
                "binary_name": "selinux-policy-src",
                "binary_version": "2:2.20240202-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "refpolicy",
            "purl": "pkg:deb/ubuntu/refpolicy?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "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"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "selinux-policy-default",
                "binary_version": "2:2.20250213-10"
              },
              {
                "binary_name": "selinux-policy-mls",
                "binary_version": "2:2.20250213-10"
              },
              {
                "binary_name": "selinux-policy-src",
                "binary_version": "2:2.20250213-10"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "refpolicy",
            "purl": "pkg:deb/ubuntu/refpolicy?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2:2.20250213-11",
            "2:2.20250213-13",
            "2:2.20260804-1",
            "2:2.20260929-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "selinux-policy-default",
                "binary_version": "2:2.20260929-1"
              },
              {
                "binary_name": "selinux-policy-mls",
                "binary_version": "2:2.20260929-1"
              },
              {
                "binary_name": "selinux-policy-src",
                "binary_version": "2:2.20260929-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "refpolicy",
            "purl": "pkg:deb/ubuntu/refpolicy?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2:2.20250213-10",
            "2:2.20250213-11"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-24612.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "selinux-policy-default",
                "binary_version": "2:2.20250213-11"
              },
              {
                "binary_name": "selinux-policy-mls",
                "binary_version": "2:2.20250213-11"
              },
              {
                "binary_name": "selinux-policy-src",
                "binary_version": "2:2.20250213-11"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:54.955510791Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-24612"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2020-24612",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1860888",
        "https://github.com/fedora-selinux/selinux-policy/commit/71e1989028802c7875d3436fd3966c587fa383fb",
        "https://www.cve.org/CVERecord?id=CVE-2020-24612"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-24612",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356528,
  "published_at": "2020-08-24T21:15:00+00:00"
}