CVE-2018-11595
What it is
Espruino before 1.99 allows attackers to cause a denial of service (application crash) and a potential Escalation of Privileges with a user crafted input file via a Buffer Overflow during syntax parsing, because strncat is misused.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in, but needs a user to act. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 1.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.3% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.3% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Espruino < 1.99
Attack profile CVSS 3.0 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2018-11595.md and follow it. Check whether this project is affected by CVE-2018-11595. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/espruino/Espruino/commit/0a7619875bf79877907205f6bee08465b89ff10b
- https://github.com/espruino/Espruino/files/2019210/test_0.txt
- https://github.com/espruino/Espruino/files/2019216/test_2.txt
- https://github.com/espruino/Espruino/files/2019220/test_4.txt
- https://github.com/espruino/Espruino/issues/1425
- https://github.com/espruino/Espruino/commit/0a7619875bf79877907205f6bee08465b89ff10b
- https://github.com/espruino/Espruino/files/2019210/test_0.txt
- https://github.com/espruino/Espruino/files/2019216/test_2.txt
- https://github.com/espruino/Espruino/files/2019220/test_4.txt
- https://github.com/espruino/Espruino/issues/1425
References
- https://github.com/espruino/Espruino/commit/0a7619875bf79877907205f6bee08465b89ff10b
- https://github.com/espruino/Espruino/files/2019210/test_0.txt
- https://github.com/espruino/Espruino/files/2019216/test_2.txt
- https://github.com/espruino/Espruino/files/2019220/test_4.txt
- https://github.com/espruino/Espruino/issues/1425
- https://github.com/espruino/Espruino/commit/0a7619875bf79877907205f6bee08465b89ff10b
- https://github.com/espruino/Espruino/files/2019210/test_0.txt
- https://github.com/espruino/Espruino/files/2019216/test_2.txt
- https://github.com/espruino/Espruino/files/2019220/test_4.txt
- https://github.com/espruino/Espruino/issues/1425