samba: fix introduced a logic inversion
Published Mar 6, 2023
7.5
HIGHCVSS 3.1
EPSS 0.49%
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.
Affected products
- Vendor n/a Product Samba Defaultn/a
- Version unknownStatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Samba | n/a |
|
- 7.7.1
- 7.8.0
No data.
Red Hat Enterprise Linux 6
samba
Not affected
Red Hat Enterprise Linux 7
samba
Not affected
Red Hat Enterprise Linux 8
samba
Not affected
Red Hat Enterprise Linux 9
samba
Not affected
Red Hat Storage 3
samba
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 7 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 8 | samba | Not affected | n/a |
| Red Hat Enterprise Linux 9 | samba | Not affected | n/a |
| Red Hat Storage 3 | samba | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Samba in RHEL is not compiled to use the Heimdal Kerberos library. Versions of Samba shipped in Red Hat Enterprise Linux are compiled to use the system MIT Kerberos using the "--with-system-mitkrb5" argument, and these installations are not impacted, as the vulnerable code is not compiled into Samba.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
YesTechnical Impact
PartialDecision
n/aAssessed Mar 6, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2023–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.49% (0.00487) | 39.61th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.49% (0.00487) | 37.86th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.08% (0.00080) | 21.13th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.07% (0.00071) | 32.89th | v3 (v2023.03.01) |
| Apr 7, 2024 | 0.07% (0.00065) | 27.11th | v3 (v2023.03.01) |
| Mar 12, 2024 | 0.06% (0.00060) | 23.42th | v3 (v2023.03.01) |
| Feb 4, 2024 | 0.05% (0.00051) | 16.91th | v3 (v2023.03.01) |
| Mar 14, 2023 | 0.05% (0.00048) | 14.86th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00043) | 6.97th | v3 (v2023.03.01) |
References (6)
- https://access.redhat.com/security/cve/CVE-2022-45142 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2166672 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2022-45142
- https://security.gentoo.org/glsa/202310-06 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2022-45142
- https://www.openwall.com/lists/oss-security/2023/02/08/1 Mailing List
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2022-45142 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2166672 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-45142 | ||
| https://security.gentoo.org/glsa/202310-06 | vendor-advisory | |
| https://www.cve.org/CVERecord?id=CVE-2022-45142 | ||
| https://www.openwall.com/lists/oss-security/2023/02/08/1 | Mailing List |
Change history (0)
No recorded changes yet.