CVE-2019-12098

Source
https://cve.org/CVERecord?id=CVE-2019-12098
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-12098.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-12098
Downstream
Related
Published
2019-05-15T23:29:00.277Z
Modified
2026-03-20T11:27:39.752261Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

In the client side of Heimdal before 7.6.0, failure to verify anonymous PKINIT PA-PKINIT-KX key exchange permits a man-in-the-middle attack. This issue is in krb5initcredsstep in lib/krb5/initcreds_pw.c.

References

Affected packages

Git / github.com/heimdal/heimdal

Affected ranges

Type
GIT
Repo
https://github.com/heimdal/heimdal
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "7.6.0"
        }
    ]
}

Affected versions

Other
git2svn-syncpoint-master
switch-from-svn-to-git
heimdal-1.*
heimdal-1.3.0pre1
heimdal-1.3.0pre10
heimdal-1.3.0pre11
heimdal-1.3.0pre3
heimdal-1.3.0pre4
heimdal-1.3.0pre5
heimdal-1.3.0pre6
heimdal-1.3.0pre7
heimdal-1.3.0pre8
heimdal-1.3.0pre9
heimdal-1.3.0rc1
heimdal-1.5pre1
heimdal-1.5pre2
heimdal-7.*
heimdal-7.0.1
heimdal-7.0.2
heimdal-7.0.3
heimdal-7.1.0
heimdal-7.1rc1
heimdal-7.2.0
heimdal-7.3.0
heimdal-7.4.0
heimdal-7.5.0
upstream-1.*
upstream-1.4.0+git20101228.dfsg.1
upstream-1.4.0+git20110220.dfsg.1

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "30"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "31"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "15.0-NA"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "15.0-sp1"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "15.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "15.1"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "42.3"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "9.0"
            }
        ]
    }
]
vanir_signatures
[
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "target": {
            "file": "lib/krb5/init_creds_pw.c",
            "function": "krb5_init_creds_step"
        },
        "source": "https://github.com/heimdal/heimdal/commit/2f7f3d9960aa6ea21358bdf3687cee5149aa35cf",
        "digest": {
            "length": 6746.0,
            "function_hash": "239451779831776701030370729553326217963"
        },
        "id": "CVE-2019-12098-3473ff51",
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "target": {
            "file": "lib/krb5/pkinit.c"
        },
        "source": "https://github.com/heimdal/heimdal/commit/2f7f3d9960aa6ea21358bdf3687cee5149aa35cf",
        "digest": {
            "line_hashes": [
                "157905797815404682526821631083992957802",
                "77077079028435348282945182426218165738",
                "232278302168403443626434313658558027612"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2019-12098-81d6eb0e",
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "target": {
            "file": "lib/krb5/init_creds_pw.c"
        },
        "source": "https://github.com/heimdal/heimdal/commit/2f7f3d9960aa6ea21358bdf3687cee5149aa35cf",
        "digest": {
            "line_hashes": [
                "94971240621567312815457331887032315308",
                "80927413706729359648894526490031709185",
                "77888480259620153279995465692430115069",
                "120247920660774625577499905939642226608"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2019-12098-eccdb06f",
        "deprecated": false
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-12098.json"