Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-12209

Yubico pam-u2f 1.0.7 attempts parsing of the configured authfile (default $HOME/.config/Yubico/u2f_keys) as root (unless openasuser was enabled), and does not properly verify that the path lacks symlinks pointing to other files on the system owned by root. If the debug option is enabled in the PAM configuration, part of the file contents of a symlink target will be logged, possibly revealing sensitive information.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-12209
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:28 UTC · Revision 1

Source evidence

CVE-2019-12209

core-osv · Original source

Published 4 Jun 2019, 21:29 UTC

Yubico pam-u2f 1.0.7 attempts parsing of the configured authfile (default $HOME/.config/Yubico/u2f_keys) as root (unless openasuser was enabled), and does not properly verify that the path lacks symlinks pointing to other files on the system owned by root. If the debug option is enabled in the PAM configuration, part of the file contents of a symlink target will be logged, possibly revealing sensitive information.

osv:CVE-2019-12209
Complete source record
{
  "id": "7b65d91c192191717f6d56531a964d412f161f3539617755467e01d5d8ef1b51",
  "url": "https://osv.dev/vulnerability/CVE-2019-12209",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-12209",
    "summary": "Yubico pam-u2f 1.0.7 attempts parsing of the configured authfile (default $HOME/.config/Yubico/u2f_keys) as root (unless openasuser was enabled), and does not properly verify that the path lacks symlinks pointing to other files on the system owned by root. If the debug option is enabled in the PAM configuration, part of the file contents of a symlink target will be logged, possibly revealing sensitive information.",
    "evidence": "osv:CVE-2019-12209",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-12209",
      "aliases": [
        "CVE-2019-12209"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/yubico/pam-u2f",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7db3386fcdb454e33a3ea30dcfb8e8960d4c3aa3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "7db3386fcdb454e33a3ea30dcfb8e8960d4c3aa3"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "pam_u2f-1.0.7",
            "pam_u2f-1.0.6",
            "pam_u2f-1.0.5",
            "pam_u2f-1.0.4",
            "pam_u2f-1.0.3",
            "pam_u2f-1.0.2",
            "pam_u2f-1.0.1",
            "pam_u2f-1.0.0",
            "pam_u2f-0.0.1",
            "pam_u2f-0.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-12209.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-12209-4c8a7ade",
                "digest": {
                  "length": 6318,
                  "function_hash": "190092078713224981052794975657320798984"
                },
                "source": "https://github.com/yubico/pam-u2f/commit/7db3386fcdb454e33a3ea30dcfb8e8960d4c3aa3",
                "target": {
                  "file": "pam-u2f.c",
                  "function": "pam_sm_authenticate"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-12209-ee50519a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "250296066536919154674839163851516765508",
                    "59111452786323337913235261308682888245",
                    "141044651560406762454417501895253739569",
                    "126359054032938080789565256505569180900",
                    "220714864252976379688803145502688475012",
                    "106159406315499737346394770900863707770",
                    "33522756926003101309545187513930969527",
                    "71702326451260424737668205123381200191",
                    "327611880822787244142960116790272837488",
                    "231305736634594726001346628114074859277",
                    "163955949941476732340365084568922478628",
                    "322001690522104487392124877961531480196",
                    "122917560062141683582688657772822747687",
                    "138199726908497305244528752739313264649",
                    "77341871531213007699954046010910951287",
                    "224655575939885664906704728675255897797",
                    "303699464452316472783995436624293889408",
                    "171407542727841768998135646367153085064",
                    "1040401220391752097814007081848542318",
                    "27912806870969979261286961349193397318",
                    "63398289410222910950184796916234250752",
                    "209995171977491762399505741862331115317",
                    "21294114663909744224471564370406630954",
                    "299827442378922536678566154607701600472",
                    "249561506344594180486237785878278908893",
                    "64279706059051126987763302622989764325",
                    "89674261969872805465078510751477079537",
                    "64496481663788244759487716129584999689",
                    "283495615230663756794873339859325689751",
                    "97165761981535877271425842949349045261",
                    "306263898074518652377612561231518689404",
                    "81716346068354327908223233647390249550",
                    "53268192210624865124009940222692962583",
                    "274145719533260958364818024938258751394",
                    "85329958743355470946491303329051581321",
                    "194649338004069832641504185077214101845",
                    "179836419267729583861045579456958088413",
                    "58948533126361249229327132606155567887",
                    "81142259067198053490984316876348911071",
                    "314485511235383047367974874029533144611",
                    "329875576775740086332656653605590857954",
                    "133935251841805499863157142127834629482",
                    "159044414741092336700454310254793686751"
                  ]
                },
                "source": "https://github.com/yubico/pam-u2f/commit/7db3386fcdb454e33a3ea30dcfb8e8960d4c3aa3",
                "target": {
                  "file": "pam-u2f.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:39:47Z"
          }
        }
      ],
      "modified": "2026-10-20T13:39:47.393305431Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5FOR4ADC356JPCHAJI5UXZORLC3VNBPS/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZCGU6UQLI3ZTW3UYCTMQW7VDL5M4LCWR/",
        "https://developers.yubico.com/pam-u2f/Release_Notes.html",
        "https://github.com/Yubico/pam-u2f/commit/7db3386fcdb454e33a3ea30dcfb8e8960d4c3aa3"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:yubico:pam-u2f:1.0.7:*:*:*:*:*:*:*"
            ],
            "vendor_product": "yubico:pam-u2f",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.0.7"
                  },
                  {
                    "last_affected": "1.0.7"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-12209",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387918,
  "published_at": "2019-06-04T21:29:00.78+00:00"
}