Process crash via unchecked shared-memory copy
Published Jun 27, 2024 · Updated Aug 23, 2024
Buffer overflow in EngiN33R lua-shmem 1.0-1 allows attackers to crash a consuming process through oversized write data. The shmem_write and shmem_fill functions pass the Lua string length to memcpy or memset without checking it against the allocated shared-memory size. Exploitation requires a consuming Lua application to pass an oversized string into either API, causing out-of-bounds memory writes and a demonstrated process crash.
Summary
What happened
Buffer overflow in EngiN33R lua-shmem 1.0-1 allows attackers to crash a consuming process through oversized write data. The shmem_write and shmem_fill functions pass the Lua string length to memcpy or memset without checking it against the allocated shared-memory size. Exploitation requires a consuming Lua application to pass an oversized string into either API, causing out-of-bounds memory writes and a demonstrated process crash.
The record
- CVE
- CVE-2024-39207
- Published
- Jun 27, 2024
- Updated
- Aug 23, 2024
- Vendor
- EngiN33R
- Product
- lua-shmem
- Classifications
- CWE-120, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 27, 2024CVE publishedPublication date reported by the CVE source.
- Aug 23, 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=1.0-1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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
- lua-shmem oversized write and fill proof of conceptproof 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