Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-12210

In Yubico pam-u2f 1.0.7, when configured with debug and a custom debug log file is set using debug_file, that file descriptor is not closed when a new process is spawned. This leads to the file descriptor being inherited into the child process; the child process can then read from and write to it. This can leak sensitive information and also, if written to, be used to fill the disk or plant misinformation.

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

Source evidence

CVE-2019-12210

core-osv · Original source

Published 4 Jun 2019, 21:29 UTC

In Yubico pam-u2f 1.0.7, when configured with debug and a custom debug log file is set using debug_file, that file descriptor is not closed when a new process is spawned. This leads to the file descriptor being inherited into the child process; the child process can then read from and write to it. This can leak sensitive information and also, if written to, be used to fill the disk or plant misinformation.

osv:CVE-2019-12210
Complete source record
{
  "id": "be3c2c20534abf70d9c09a759886f01ac203cdd05a599250a7b74e1b2ce18c97",
  "url": "https://osv.dev/vulnerability/CVE-2019-12210",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-12210",
    "summary": "In Yubico pam-u2f 1.0.7, when configured with debug and a custom debug log file is set using debug_file, that file descriptor is not closed when a new process is spawned. This leads to the file descriptor being inherited into the child process; the child process can then read from and write to it. This can leak sensitive information and also, if written to, be used to fill the disk or plant misinformation.",
    "evidence": "osv:CVE-2019-12210",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-12210",
      "aliases": [
        "CVE-2019-12210"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/yubico/pam-u2f",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "18b1914e32b74ff52000f10e97067e841e5fff62"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "18b1914e32b74ff52000f10e97067e841e5fff62"
                      }
                    ],
                    "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-12210.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-12210-0d65538b",
                "digest": {
                  "length": 6210,
                  "function_hash": "189549074423305318278192686640012163201"
                },
                "source": "https://github.com/yubico/pam-u2f/commit/18b1914e32b74ff52000f10e97067e841e5fff62",
                "target": {
                  "file": "pam-u2f.c",
                  "function": "pam_sm_authenticate"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-12210-0f862f88",
                "digest": {
                  "length": 3409,
                  "function_hash": "195761456827247277768293084524503281524"
                },
                "source": "https://github.com/yubico/pam-u2f/commit/18b1914e32b74ff52000f10e97067e841e5fff62",
                "target": {
                  "file": "pam-u2f.c",
                  "function": "parse_cfg"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-12210-129a38bf",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "74159124244018100562414087706259487115",
                    "15589709676013445663821855306310005346",
                    "29261019710999320254115368692065048130",
                    "275549048693574385998821709364060424831",
                    "274669463955468417678035653616836135555"
                  ]
                },
                "source": "https://github.com/yubico/pam-u2f/commit/18b1914e32b74ff52000f10e97067e841e5fff62",
                "target": {
                  "file": "util.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-12210-c37279b6",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "38566131191158280969771373829878351329",
                    "68534845635227618244165295347654299518",
                    "99034973171212203838086329539934875018",
                    "160763405766745971685432024049131087910",
                    "112550724444239380022428339715036561221",
                    "339934473024402355708867558388125765016",
                    "125337728716116508583989324253458221915",
                    "285102405833314867080639137295015870331",
                    "331289066888627500233492477902336962222",
                    "186991957858821808299167416745842984917",
                    "17394472259488424013346088083066957249",
                    "250156582766584548941376435718678118607",
                    "88149997300662303978378318817429612692",
                    "189581175661097558587089072040598489498",
                    "163128726598849826202468609236991219750",
                    "301339130870676509232612002597399266403",
                    "108587633537507210242609878158511307392",
                    "50753954185298141919795490190530182148",
                    "143445032207105796318675571078917865563",
                    "71074590716795832861286944477717596693",
                    "40621960917746443291963695129264077342",
                    "320464032398203998813638203992451131861",
                    "312870750276761457705186876906892758781",
                    "256702700309835648708959209147152331714",
                    "191877983113199356364464191681003477085",
                    "122239394949683716420596891530724293475",
                    "266013145266901934662043654012968551298",
                    "264581039759020585843312172824995915707"
                  ]
                },
                "source": "https://github.com/yubico/pam-u2f/commit/18b1914e32b74ff52000f10e97067e841e5fff62",
                "target": {
                  "file": "pam-u2f.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-12210-c5c783f3",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "239728184875118047816664293332223288302",
                    "39543118994044962121342886856204437775",
                    "234571186592139275582779438414895999399",
                    "258265792297141696996194338689544215295",
                    "320724708553198036580094638463132641387",
                    "280180596188658174022623772171092698523",
                    "339143390941574893358472871694190983890",
                    "25562190451719698012950476071967077253",
                    "291546800576521260612794148729163078387",
                    "324223987105197310696138322894083649087",
                    "92356891833934502546924409955693819634",
                    "201896504121250102716349267443497954662",
                    "176509127885275288976101512489957694016",
                    "332509809972710239135991249936875728053"
                  ]
                },
                "source": "https://github.com/yubico/pam-u2f/commit/18b1914e32b74ff52000f10e97067e841e5fff62",
                "target": {
                  "file": "util.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-12210-d996c8db",
                "digest": {
                  "length": 4492,
                  "function_hash": "14975102232140488356628508058481157351"
                },
                "source": "https://github.com/yubico/pam-u2f/commit/18b1914e32b74ff52000f10e97067e841e5fff62",
                "target": {
                  "file": "util.c",
                  "function": "get_devices_from_authfile"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:39:47Z"
          }
        }
      ],
      "modified": "2026-10-20T13:39:47.010571724Z",
      "provider": "osv",
      "references": [
        "https://developers.yubico.com/pam-u2f/Release_Notes.html",
        "https://github.com/Yubico/pam-u2f/commit/18b1914e32b74ff52000f10e97067e841e5fff62"
      ],
      "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-12210",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387925,
  "published_at": "2019-06-04T21:29:00.827+00:00"
}