CVE-2022-45142

Source
https://cve.org/CVERecord?id=CVE-2022-45142
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-45142.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-45142
Downstream
Related
Published
2023-03-06T00:00:00Z
Modified
2026-07-08T06:03:23.542394453Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45142.json",
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-354"
    ]
}
References

Affected packages

Git / github.com/heimdal/heimdal

Affected ranges

Type
GIT
Repo
https://github.com/heimdal/heimdal
Events
Database specific
{
    "source": "CPE_STRING",
    "cpe": [
        "cpe:2.3:a:heimdal_project:heimdal:7.7.1:*:*:*:*:*:*:*",
        "cpe:2.3:a:heimdal_project:heimdal:7.8.0:*:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "7.7.1"
        },
        {
            "last_affected": "7.7.1"
        },
        {
            "introduced": "7.8.0"
        },
        {
            "last_affected": "7.8.0"
        }
    ]
}

Affected versions

7.*
7.7.1
7.8.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-45142.json"