CVE-2021-44993
Medium · 5.5CVSS
5.5
EPSS
0.8%
Published
Jan 25, 2022
CISA due date
—
Cloudanix analysis
A problem in a JavaScript engine can make any program that uses it suddenly stop working when it receives certain local input.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Assertion failure in ecma-get-put-value.c causes immediate process crash on certain local inputs, resulting in denial of service.
Why it matters to the business
Applications or services embedding this JavaScript engine can be forced offline by a local user, interrupting operations with no data loss but requiring restart; the flaw remains unpatched in listed versions and has publicly available exploits despite low exploitation probability.
How an attack unfolds
An attacker supplies crafted input to a Jerryscript-based application that reaches the failing assertion path during value handling, triggering an immediate crash. Public exploit code exists and has been available since shortly after disclosure.
How to fix it
Upgrade to a newer Jerryscript release that resolves the assertion failure; if no fixed version is available, isolate affected components or implement input sanitization to prevent triggering the code path.
How to confirm the fix worked
Test the application with known triggering inputs in a controlled environment and monitor for the specific assertion failure message in logs or core dumps; retest after any engine update.
Typical attack path
- Identify a target process or service using the vulnerable Jerryscript engine
- Craft or obtain input that violates the ecma_is_value_boolean assertion
- Deliver the input locally to trigger the crash
- Confirm service interruption and repeat as needed
How to detect it
Review application and system logs for the assertion failure string, unexpected process terminations, or core dumps referencing ecma-get-put-value.c; correlate with user activity that supplies JavaScript or data to the engine.
- ecma_is_value_boolean (base_value) failed
- /jerry-core/ecma/operations/ecma-get-put-value.c
What your security team should do
- Prioritize removal or isolation of Jerryscript 3.0.0 deployments given the public exploit and long disclosure window
- Scan all codebases and containers for the affected engine version
- Implement runtime monitoring for process crashes matching the assertion location
- Plan migration to a maintained fork or alternative engine if upstream fixes remain unavailable
The record
There is an Assertion ''ecma_is_value_boolean (base_value)'' failed at /jerry-core/ecma/operations/ecma-get-put-value.c in Jerryscript 3.0.0.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | iotjs | 0 | No fix |
| Ubuntu:22.04:LTS | iotjs | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | iotjs | 0 | No fix |
| conan | jerryscript | 3.0.0 | No fix |
Related vulnerabilities
- CVE-2024-33255 Jerryscript commit cefd391 was discovered to contain an Assertion Failure via… Also affects iotjs
- CVE-2024-33260 Jerryscript commit cefd391 was discovered to contain a segmentation violation via the… Also affects iotjs
- CVE-2024-33258 Jerryscript commit ff9ff8f was discovered to contain a segmentation violation via the… Also affects iotjs
- CVE-2024-33259 Jerryscript commit cefd391 was discovered to contain a segmentation violation via the… Also affects iotjs
- CVE-2023-36109 Buffer Overflow vulnerability in JerryScript version 3.0, allows remote attackers to… Also affects iotjs
- CVE-2023-38961 Buffer Overflwo vulnerability in JerryScript Project jerryscript v.3.0.0 allows a remote… Also affects iotjs
- CVE-2023-36201 An issue in JerryscriptProject jerryscript v.3.0.0 allows an attacker to obtain sensitive… Also affects iotjs
- CVE-2023-34867 Jerryscript 3.0 (commit 05dbbd1) was discovered to contain an Assertion Failure via the… Also affects iotjs