Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-14163

An issue was discovered in ecma/operations/ecma-container-object.c in JerryScript 2.2.0. Operations with key/value pairs did not consider the case where garbage collection is triggered after the key operation but before the value operation, as demonstrated by improper read access to memory in ecma_gc_set_object_visited in ecma/base/ecma-gc.c.

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

Source evidence

CVE-2020-14163

core-osv · Original source

Published 15 Jun 2020, 21:15 UTC

An issue was discovered in ecma/operations/ecma-container-object.c in JerryScript 2.2.0. Operations with key/value pairs did not consider the case where garbage collection is triggered after the key operation but before the value operation, as demonstrated by improper read access to memory in ecma_gc_set_object_visited in ecma/base/ecma-gc.c.

osv:CVE-2020-14163
Complete source record
{
  "id": "4ab66f79f1bb4b995ead7f0148eb5ef6d6af11cf4d0c5e446fe87d6d4b0d5f0c",
  "url": "https://osv.dev/vulnerability/CVE-2020-14163",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-14163",
    "summary": "An issue was discovered in ecma/operations/ecma-container-object.c in JerryScript 2.2.0. Operations with key/value pairs did not consider the case where garbage collection is triggered after the key operation but before the value operation, as demonstrated by improper read access to memory in ecma_gc_set_object_visited in ecma/base/ecma-gc.c.",
    "evidence": "osv:CVE-2020-14163",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-14163",
      "aliases": [
        "CVE-2020-14163"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jerryscript-project/jerryscript",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5fdeb7c1d68e8c5209e186e1760bc703a723d588"
                },
                {
                  "last_affected": "5fdeb7c1d68e8c5209e186e1760bc703a723d588"
                },
                {
                  "fixed": "c2b662170245a16f46ce02eae68815c325d99821"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jerryscript:jerryscript:2.2.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "last_affected": "2.2.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c2b662170245a16f46ce02eae68815c325d99821"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.2.0",
            "v2.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-14163.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-14163-ba7c1e0a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "25465514740708979420224665403034416635",
                    "320576600380106644655582760555613389848",
                    "244450852550685865976403244806254405722",
                    "7204265613907957485970655669963212200",
                    "210264926459118391535518939351240118780",
                    "187499556459470564402424983597308093757",
                    "110179250577828944811860284723004611515"
                  ]
                },
                "source": "https://github.com/jerryscript-project/jerryscript/commit/c2b662170245a16f46ce02eae68815c325d99821",
                "target": {
                  "file": "jerry-core/ecma/operations/ecma-container-object.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-14163-cd4be752",
                "digest": {
                  "length": 328,
                  "function_hash": "45735897783713569161299970595128115998"
                },
                "source": "https://github.com/jerryscript-project/jerryscript/commit/c2b662170245a16f46ce02eae68815c325d99821",
                "target": {
                  "file": "jerry-core/ecma/operations/ecma-container-object.c",
                  "function": "ecma_op_internal_buffer_append"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:51:14Z"
          }
        }
      ],
      "modified": "2026-10-20T13:51:14.522989485Z",
      "provider": "osv",
      "references": [
        "https://github.com/jerryscript-project/jerryscript/issues/3804",
        "https://github.com/jerryscript-project/jerryscript/commit/c2b662170245a16f46ce02eae68815c325d99821"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-14163",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388276,
  "published_at": "2020-06-15T21:15:10.553+00:00"
}