{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2018-12-01"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2018-12-01"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5ddda15d89f5ac82f4416208c5319ace4aecdc36"
            }
          ],
          "repo": "https://github.com/mc2-project/opaque-sql",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5ddda15d89f5ac82f4416208c5319ace4aecdc36"
            }
          ],
          "repo": "https://github.com/mc2-project/opaque-sql",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An issue was discovered in UC Berkeley RISE Opaque before 2018-12-01. There is no boundary check on ocall_malloc. The return value could be a pointer to enclave memory. It could cause an arbitrary enclave memory write.",
  "id": "CVE-2018-20742",
  "modified": "2026-03-13T21:49:34.769264113Z",
  "published": "2019-01-24T05:29:00.753Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/ucbrise/opaque/commit/5ddda15d89f5ac82f4416208c5319ace4aecdc36"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ucbrise/opaque/issues/66"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}