CVE-2021-41752

Source
https://cve.org/CVERecord?id=CVE-2021-41752
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41752.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-41752
Downstream
Published
2022-04-05T16:15:12Z
Modified
2026-10-20T14:06:43Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Stack overflow vulnerability in Jerryscript before commit e1ce7dd7271288be8c0c8136eea9107df73a8ce2 on Oct 20, 2021 due to an unbounded recursive call to the new opt() function.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:jerryscript:jerryscript:*:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "2021-10-20"
                        }
                    ],
                    "source": "CPE_RANGE"
                }
            ],
            "vendor_product": "jerryscript:jerryscript"
        }
    ]
}
References

Affected packages

Git / github.com/jerryscript-project/jerryscript

Affected ranges

Type
GIT
Repo
https://github.com/jerryscript-project/jerryscript
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "e1ce7dd7271288be8c0c8136eea9107df73a8ce2"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}

Affected versions

v2.*
v2.0
v2.1.0
v2.2.0
v2.3.0
v2.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41752.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "65070737677933875425506203001298679016",
                "73230660568362018569682176724414777453",
                "166278255259729510481392221968112886844",
                "209500469125532017844010357862545838628",
                "136900461308309981844186666398668427074",
                "58593926328542817457890983909528317747",
                "279869648042454976186181280938525526884",
                "137590719488954089823847476286989918596",
                "243883996849007538961829585418232016228",
                "51687892192894415234407263472506365296",
                "123357851191358437223824426172505518437",
                "294465336187237343467166624896756758593",
                "146185930394981791965297907672006715786",
                "93374882415703749480982002778321013449",
                "135634870079886229846551216775308685691",
                "289665323977797705741776769172142214602",
                "240872757311082232732669624217786734328",
                "17431365949903122987086442861454201799",
                "327329914787492682946706850373894109549",
                "172036605490437172373493578312061837390",
                "186694615650118189023208462517349319452",
                "153192149349469506399272019667301023023",
                "299047268034976004058969040740903540330",
                "196310120636425941165016007046618804274",
                "50174438947771418537410276228591917782",
                "271982959861117745361994037518368881433"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2021-41752-164d2bde",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/jerryscript-project/jerryscript/commit/e1ce7dd7271288be8c0c8136eea9107df73a8ce2",
        "target": {
            "file": "jerry-core/ecma/operations/ecma-typedarray-object.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "259081529014639118895966770811122945139",
            "length": 1329
        },
        "id": "CVE-2021-41752-3726c416",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/jerryscript-project/jerryscript/commit/e1ce7dd7271288be8c0c8136eea9107df73a8ce2",
        "target": {
            "file": "jerry-core/ecma/operations/ecma-typedarray-object.c",
            "function": "ecma_typedarray_create_object_with_length"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "225580794641486813059091393472118417868",
            "length": 2184
        },
        "id": "CVE-2021-41752-cbdfb04a",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/jerryscript-project/jerryscript/commit/e1ce7dd7271288be8c0c8136eea9107df73a8ce2",
        "target": {
            "file": "jerry-core/ecma/operations/ecma-typedarray-object.c",
            "function": "ecma_op_create_typedarray"
        }
    }
]
vanir_signatures_modified
"2026-10-20T14:06:43Z"