CVE-2019-12098

Source
https://nvd.nist.gov/vuln/detail/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:00Z
Modified
2025-09-19T10:21:40.354524Z
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

Alpine:v3.10 / heimdal

Package

Name
heimdal
Purl
pkg:apk/alpine/heimdal?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.5.0-r5

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.2.1-r4
1.3.1-r0
1.3.1-r1
1.3.1-r2
1.3.1-r3
1.3.1-r4
1.3.1-r5
1.3.3-r0
1.4-r0
1.4-r1
1.4-r2
1.4-r3
1.4-r4
1.4-r5
1.4-r6
1.4-r7
1.4-r8
1.4-r9
1.4-r10
1.4-r11
1.5-r2
1.5.2-r3
1.5.2-r4
1.5.2-r5
1.5.2-r6
1.5.2-r7
1.5.2-r8
1.5.3-r0
1.5.3-r1
1.6_rc2-r1
1.6_rc2-r2
1.6_rc2-r3
1.6_rc2-r4
1.6_rc2-r5

7.*

7.1.0-r0
7.1.0-r1
7.4.0-r0
7.4.0-r1
7.4.0-r2
7.5.0-r0
7.5.0-r1
7.5.0-r2
7.5.0-r3
7.5.0-r4

Alpine:v3.7 / heimdal

Package

Name
heimdal
Purl
pkg:apk/alpine/heimdal?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.4.0-r4

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.2.1-r4
1.3.1-r0
1.3.1-r1
1.3.1-r2
1.3.1-r3
1.3.1-r4
1.3.1-r5
1.3.3-r0
1.4-r0
1.4-r1
1.4-r2
1.4-r3
1.4-r4
1.4-r5
1.4-r6
1.4-r7
1.4-r8
1.4-r9
1.4-r10
1.4-r11
1.5-r2
1.5.2-r3
1.5.2-r4
1.5.2-r5
1.5.2-r6
1.5.2-r7
1.5.2-r8
1.5.3-r0
1.5.3-r1
1.6_rc2-r1
1.6_rc2-r2
1.6_rc2-r3
1.6_rc2-r4
1.6_rc2-r5

7.*

7.1.0-r0
7.1.0-r1
7.4.0-r0
7.4.0-r1
7.4.0-r2
7.4.0-r3

Alpine:v3.8 / heimdal

Package

Name
heimdal
Purl
pkg:apk/alpine/heimdal?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.5.0-r3

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.2.1-r4
1.3.1-r0
1.3.1-r1
1.3.1-r2
1.3.1-r3
1.3.1-r4
1.3.1-r5
1.3.3-r0
1.4-r0
1.4-r1
1.4-r2
1.4-r3
1.4-r4
1.4-r5
1.4-r6
1.4-r7
1.4-r8
1.4-r9
1.4-r10
1.4-r11
1.5-r2
1.5.2-r3
1.5.2-r4
1.5.2-r5
1.5.2-r6
1.5.2-r7
1.5.2-r8
1.5.3-r0
1.5.3-r1
1.6_rc2-r1
1.6_rc2-r2
1.6_rc2-r3
1.6_rc2-r4
1.6_rc2-r5

7.*

7.1.0-r0
7.1.0-r1
7.4.0-r0
7.4.0-r1
7.4.0-r2
7.5.0-r0
7.5.0-r1
7.5.0-r2

Alpine:v3.9 / heimdal

Package

Name
heimdal
Purl
pkg:apk/alpine/heimdal?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.5.0-r4

Affected versions

1.*

1.2.1-r0
1.2.1-r1
1.2.1-r2
1.2.1-r3
1.2.1-r4
1.3.1-r0
1.3.1-r1
1.3.1-r2
1.3.1-r3
1.3.1-r4
1.3.1-r5
1.3.3-r0
1.4-r0
1.4-r1
1.4-r2
1.4-r3
1.4-r4
1.4-r5
1.4-r6
1.4-r7
1.4-r8
1.4-r9
1.4-r10
1.4-r11
1.5-r2
1.5.2-r3
1.5.2-r4
1.5.2-r5
1.5.2-r6
1.5.2-r7
1.5.2-r8
1.5.3-r0
1.5.3-r1
1.6_rc2-r1
1.6_rc2-r2
1.6_rc2-r3
1.6_rc2-r4
1.6_rc2-r5

7.*

7.1.0-r0
7.1.0-r1
7.4.0-r0
7.4.0-r1
7.4.0-r2
7.5.0-r0
7.5.0-r1
7.5.0-r2
7.5.0-r3

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

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

{
    "vanir_signatures": [
        {
            "digest": {
                "function_hash": "239451779831776701030370729553326217963",
                "length": 6746.0
            },
            "signature_type": "Function",
            "source": "https://github.com/heimdal/heimdal/commit/2f7f3d9960aa6ea21358bdf3687cee5149aa35cf",
            "signature_version": "v1",
            "target": {
                "file": "lib/krb5/init_creds_pw.c",
                "function": "krb5_init_creds_step"
            },
            "deprecated": false,
            "id": "CVE-2019-12098-3473ff51"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "157905797815404682526821631083992957802",
                    "77077079028435348282945182426218165738",
                    "232278302168403443626434313658558027612"
                ]
            },
            "signature_type": "Line",
            "source": "https://github.com/heimdal/heimdal/commit/2f7f3d9960aa6ea21358bdf3687cee5149aa35cf",
            "signature_version": "v1",
            "target": {
                "file": "lib/krb5/pkinit.c"
            },
            "deprecated": false,
            "id": "CVE-2019-12098-81d6eb0e"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "94971240621567312815457331887032315308",
                    "80927413706729359648894526490031709185",
                    "77888480259620153279995465692430115069",
                    "120247920660774625577499905939642226608"
                ]
            },
            "signature_type": "Line",
            "source": "https://github.com/heimdal/heimdal/commit/2f7f3d9960aa6ea21358bdf3687cee5149aa35cf",
            "signature_version": "v1",
            "target": {
                "file": "lib/krb5/init_creds_pw.c"
            },
            "deprecated": false,
            "id": "CVE-2019-12098-eccdb06f"
        }
    ]
}