Application crash via unchecked terminfo string offsets
Published Mar 27, 2024 · Updated Nov 6, 2024
Denial of service in S-Lang 2.3.2 allows local users to crash a linked terminal application via a corrupt terminfo file. The fixup_tgetstr function in src/sldisply.c accepts invalid string offsets from the terminfo entry without checking whether they reference valid data, causing invalid memory access during terminal initialization. Exploitation requires a crafted terminfo file to be installed where a S-Lang-linked application selects it, and the observed consequence is a process crash rather than a system-wide outage.
Summary
What happened
Denial of service in S-Lang 2.3.2 allows local users to crash a linked terminal application via a corrupt terminfo file. The fixup_tgetstr function in src/sldisply.c accepts invalid string offsets from the terminfo entry without checking whether they reference valid data, causing invalid memory access during terminal initialization. Exploitation requires a crafted terminfo file to be installed where a S-Lang-linked application selects it, and the observed consequence is a process crash rather than a system-wide outage.
The record
- CVE
- CVE-2023-45929
- Published
- Mar 27, 2024
- Updated
- Nov 6, 2024
- Vendor
- John E. Davis Software
- Product
- S-Lang
- Classifications
- CWE-120, T1499.004
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Mar 27, 2024CVE publishedPublication date reported by the CVE source.
- Nov 6, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.3.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Corrupt xterm-256color terminfo reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo