CVE-2022-45142

samba: fix introduced a logic inversion

Published Mar 6, 2023 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3311-1 heimdal security update
Debian DSA Debian DSA DSA-5344-1 heimdal security update
EUVD EUVD EUVD-2022-48057 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.
Ubuntu USN Ubuntu USN USN-5849-1 Heimdal vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Mar 6, 2025, 8:20 PM
Reserved
Nov 10, 2022, 12:00 AM
Status
Modified
Published
Mar 6, 2023, 11:15 PM
Modified
Jun 17, 2026, 5:09 AM
Severity
Important
Public date
Feb 8, 2023, 12:00 AM