CVE-2022-45142: High severity Heimdal Project Heimdal vulnerability

Published Mar 6, 2023
·
Updated

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.

Affected Software

17 affected componentsFixes available
Heimdal Project Heimdal=7.7.1
Heimdal Project Heimdal=7.8.0
debian/heimdal<7.8.git20221117.28daf24+dfsg-1.1
7.8.git20221117.28daf24+dfsg-1.1
debian/heimdal<7.8.git20221117.28daf24+dfsg-1.1
7.8.git20221117.28daf24+dfsg-1.1
debian/heimdal<7.8.git20221117.28daf24+dfsg-1.1
7.8.git20221117.28daf24+dfsg-1.1
debian/heimdal
7.8.git20221117.28daf24+dfsg-27.8.git20221117.28daf24+dfsg-9+deb13u17.8.git20240113.1b4565a+dfsg-2
alpine/heimdal<7.7.1-r1
7.7.1-r1
alpine/heimdal<7.7.1-r0
7.7.1-r0
alpine/heimdal<7.7.1-r0
7.7.1-r0
alpine/heimdal<7.8.0-r1
7.8.0-r1
alpine/heimdal<7.8.0-r2
7.8.0-r2
alpine/heimdal<7.8.0-r2
7.8.0-r2
alpine/heimdal<7.8.0-r2
7.8.0-r2
alpine/heimdal<7.8.0-r2
7.8.0-r2
alpine/heimdal<7.8.0-r2
7.8.0-r2
alpine/heimdal<7.8.0-r2
7.8.0-r2
alpine/heimdal<7.8.0-r2
7.8.0-r2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/heimdal to a version that resolves this vulnerability.

    Fixed in 7.8.git20221117.28daf24+dfsg-2Fixed in 7.8.git20221117.28daf24+dfsg-9+deb13u1Fixed in 7.8.git20240113.1b4565a+dfsg-2
  2. Upgrade

    Upgrade alpine/heimdal to a version that resolves this vulnerability.

    Fixed in 7.7.1-r1
  3. Upgrade

    Upgrade alpine/heimdal to a version that resolves this vulnerability.

    Fixed in 7.7.1-r0
  4. Upgrade

    Upgrade alpine/heimdal to a version that resolves this vulnerability.

    Fixed in 7.8.0-r1
  5. Upgrade

    Upgrade alpine/heimdal to a version that resolves this vulnerability.

    Fixed in 7.8.0-r2
  6. Upgrade

    Upgrade debian/heimdal to a version that resolves this vulnerability.

    Fixed in 7.8.git20221117.28daf24+dfsg-1.1

Event History

Mar 6, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·11:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-45142?

CVE-2022-45142 is a vulnerability that affects Heimdal Project Heimdal versions 7.7.1 and 7.8.0, potentially other branches.

2

What is the severity of CVE-2022-45142?

The severity of CVE-2022-45142 is high, with a severity value of 7.5.

3

What is the description of CVE-2022-45142?

CVE-2022-45142 is a vulnerability in Heimdal Project Heimdal that involves a logic inversion in the backported patches for fixing CVE-2022-3437.

4

How does CVE-2022-45142 affect Heimdal Project Heimdal?

CVE-2022-45142 affects Heimdal Project Heimdal versions 7.7.1 and 7.8.0, potentially other branches.

5

Are there any references for CVE-2022-45142?

Yes, you can find references for CVE-2022-45142 at the following links: [Reference 1](https://security.gentoo.org/glsa/202310-06), [Reference 2](https://www.openwall.com/lists/oss-security/2023/02/08/1).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203