CVE-2023-40546

Source
https://cve.org/CVERecord?id=CVE-2023-40546
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-40546.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-40546
Downstream
Related
Published
2024-01-29T16:29:26.258Z
Modified
2026-06-26T03:54:39.766175071Z
Severity
  • 6.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Shim: out-of-bounds read printing error messages
Details

A flaw was found in Shim when an error happened while creating a new ESL variable. If Shim fails to create the new variable, it tries to print an error message to the user; however, the number of parameters used by the logging function doesn't match the format string used by it, leading to a crash under certain circumstances.

Database specific
{
    "cna_assigner": "redhat",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/40xxx/CVE-2023-40546.json",
    "cwe_ids": [
        "CWE-476"
    ]
}
References

Affected packages

Git / github.com/rhboot/shim

Affected ranges

Type
GIT
Repo
https://github.com/rhboot/shim
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:redhat:shim:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "15.8"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

0.*
0.3
0.4
0.5
0.7
0.8
0.9
Other
11
12
13
14
15
15.*
15.2
15.3
15.4
15.5
15.5-rc2
15.6
15.6-rc2
15.7
shim-15.*
shim-15.3-rc1
shim-15.3-rc2
shim-15.3-rc3
shim-15.3-rc4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-40546.json"