Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-41751

Buffer overflow vulnerability in file ecma-builtin-array-prototype.c:909 in function ecma_builtin_array_prototype_object_slice in Jerryscript before commit e1ce7dd7271288be8c0c8136eea9107df73a8ce2 on Oct 20, 2021.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-41751
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:53 UTC · Revision 1

Source evidence

CVE-2021-41751

core-osv · Original source

Published 5 Apr 2022, 16:15 UTC

Buffer overflow vulnerability in file ecma-builtin-array-prototype.c:909 in function ecma_builtin_array_prototype_object_slice in Jerryscript before commit e1ce7dd7271288be8c0c8136eea9107df73a8ce2 on Oct 20, 2021.

osv:CVE-2021-41751
Complete source record
{
  "id": "35aa75df1b35d77e09f0e79beeafdc31f3cb95589d98d9b3967a1260608bb138",
  "url": "https://osv.dev/vulnerability/CVE-2021-41751",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-41751",
    "summary": "Buffer overflow vulnerability in file ecma-builtin-array-prototype.c:909 in function ecma_builtin_array_prototype_object_slice in Jerryscript before commit e1ce7dd7271288be8c0c8136eea9107df73a8ce2 on Oct 20, 2021.",
    "evidence": "osv:CVE-2021-41751",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-41751",
      "aliases": [
        "CVE-2021-41751"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jerryscript-project/jerryscript",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e1ce7dd7271288be8c0c8136eea9107df73a8ce2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "e1ce7dd7271288be8c0c8136eea9107df73a8ce2"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.4.0",
            "v2.3.0",
            "v2.2.0",
            "v2.1.0",
            "v2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41751.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-41751-164d2bde",
                "digest": {
                  "threshold": 0.9,
                  "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"
                  ]
                },
                "source": "https://github.com/jerryscript-project/jerryscript/commit/e1ce7dd7271288be8c0c8136eea9107df73a8ce2",
                "target": {
                  "file": "jerry-core/ecma/operations/ecma-typedarray-object.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-41751-3726c416",
                "digest": {
                  "length": 1329,
                  "function_hash": "259081529014639118895966770811122945139"
                },
                "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,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-41751-cbdfb04a",
                "digest": {
                  "length": 2184,
                  "function_hash": "225580794641486813059091393472118417868"
                },
                "source": "https://github.com/jerryscript-project/jerryscript/commit/e1ce7dd7271288be8c0c8136eea9107df73a8ce2",
                "target": {
                  "file": "jerry-core/ecma/operations/ecma-typedarray-object.c",
                  "function": "ecma_op_create_typedarray"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:28:25Z"
          }
        }
      ],
      "modified": "2026-10-20T14:28:25.590811037Z",
      "provider": "osv",
      "references": [
        "https://github.com/jerryscript-project/jerryscript/pull/4797"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:jerryscript:jerryscript:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "jerryscript:jerryscript",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2021-10-20"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-41751",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 389061,
  "published_at": "2022-04-05T16:15:12.34+00:00"
}