CVE catalog

CVE-2022-45142

heimdal: CVE-2022-45142

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P/RL:O/RC:C
Published
Source
[NVD] · [CVE record]
EPSS
0.49% · Oct 22, 2026

The fix for CVE-2022-3437 included changing memcmp to be constant time and a workaround for a compiler bug by adding "!= 0" comparisons to the result of memcmp. When these patches were backported to the heimdal-7.7.1 and heimdal-7.8.0 branches (and possibly other branches) a logic inversion sneaked in causing the validation of message integrity codes in gssapi/arcfour to be inverted.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianheimdalsid7.8.git20240113.1b4565a+dfsg-2fixed
Debianheimdalforky7.8.git20240113.1b4565a+dfsg-2fixed
Debianheimdaltrixie7.8.git20221117.28daf24+dfsg-9+deb13u1fixed
Debianheimdalbookworm7.8.git20221117.28daf24+dfsg-2fixed
Ubuntuheimdalpro1.6~rc2+dfsg-10ubuntu1vulnerable
Ubuntuheimdalpro1.7~git20150920+dfsg-4ubuntu1vulnerable
Ubuntuheimdalpro1.7~git20150920+dfsg-4ubuntu1.16.04.1vulnerable
Ubuntuheimdalpro1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm1vulnerable
Ubuntuheimdalpro1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm2vulnerable
Ubuntuheimdalpro1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3vulnerable
Ubuntuheimdalpro1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm4fixed
Ubuntuheimdal18.047.4.0.dfsg.1-2vulnerable
Ubuntuheimdal18.047.5.0+dfsg-1vulnerable
Ubuntuheimdal18.047.5.0+dfsg-1ubuntu0.1vulnerable
Ubuntuheimdal18.047.5.0+dfsg-1ubuntu0.2vulnerable
Ubuntuheimdal18.047.5.0+dfsg-1ubuntu0.3vulnerable
Ubuntuheimdal18.047.5.0+dfsg-1ubuntu0.4fixed
Ubuntuheimdal20.047.5.0+dfsg-3build1vulnerable
Ubuntuheimdal20.047.7.0+dfsg-1vulnerable
Ubuntuheimdal20.047.7.0+dfsg-1ubuntu1vulnerable
Ubuntuheimdal20.047.7.0+dfsg-1ubuntu1.1vulnerable
Ubuntuheimdal20.047.7.0+dfsg-1ubuntu1.2vulnerable
Ubuntuheimdal20.047.7.0+dfsg-1ubuntu1.3vulnerable
Ubuntuheimdal20.047.7.0+dfsg-1ubuntu1.4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianheimdalsourcesid7.8.git20221117.28daf24+dfsg-1.1not yet assignedNot reported[1030849]
Debianheimdalsourceforky7.8.git20221117.28daf24+dfsg-1.1not yet assignedNot reported[1030849]
Debianheimdalsourcetrixie7.8.git20221117.28daf24+dfsg-1.1not yet assignedNot reported[1030849]
Debianheimdalsourcebookworm7.8.git20221117.28daf24+dfsg-1.1not yet assignedNot reported[1030849]
Ubuntuheimdaldebpro1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm4Not reportedUSN-5849-1Not reported
Ubuntuheimdaldeb18.047.5.0+dfsg-1ubuntu0.4Not reportedUSN-5849-1Not reported
Ubuntuheimdaldeb20.047.7.0+dfsg-1ubuntu1.4Not reportedUSN-5849-1Not reported

[Debian bug #1030849]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · all · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · all · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

  • Source package: [heimdal]

    Details (2)
    • 7.8.git20221117.28daf24+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

    • 7.8.git20221117.28daf24+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 7.8.git20221117.28daf24+dfsg-1.1

      dsa · heimdal · debian · bookworm

Next results

Observed:

References