Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-39228— Memory Safety Issue when using patch or merge on state and assign the result back to state

Quick assessment

Affected
tremor-rs tremor-runtime
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Tremor是开源的一个非结构化数据的事件处理系统。 Tremor Tremor-runtime 存在资源管理错误漏洞,该漏洞源于产品在使用 patch 或 merge 在 state 上并将结果分配回 state 状态时会引起对已释放内存的访问。以下产品及版本受到影响:Tremor-rs Tremor-runtime 0.7.2 至 0.11.6 版本。

CVSS 6.5 · Medium EPSS 1.35% · P69
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-39228

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Memory Safety Issue when using patch or merge on state and assign the result back to state
Source: CVE Program / CVE List V5
Vulnerability Description
Tremor is an event processing system for unstructured data. A vulnerability exists between versions 0.7.2 and 0.11.6. This vulnerability is a memory safety Issue when using `patch` or `merge` on `state` and assign the result back to `state`. In this case, affected versions of Tremor and the tremor-script crate maintains references to memory that might have been freed already. And these memory regions can be accessed by retrieving the `state`, e.g. send it over TCP or HTTP. This requires the Tremor server (or any other program using tremor-script) to execute a tremor-script script that uses the mentioned language construct. The issue has been patched in version 0.11.6 by removing the optimization and always cloning the target expression of a Merge or Patch. If an upgrade is not possible, a possible workaround is to avoid the optimization by introducing a temporary variable and not immediately reassigning to `state`.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
释放后使用
Source: CVE Program / CVE List V5
Vulnerability Title
Tremor 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Tremor是开源的一个非结构化数据的事件处理系统。 Tremor Tremor-runtime 存在资源管理错误漏洞,该漏洞源于产品在使用 patch 或 merge 在 state 上并将结果分配回 state 状态时会引起对已释放内存的访问。以下产品及版本受到影响:Tremor-rs Tremor-runtime 0.7.2 至 0.11.6 版本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
tremor-rs tremor-runtime > 0.7.2, < 0.11.6 -

II. Public POCs for CVE-2021-39228

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-39228

登录查看更多情报信息。

Patches & Fixes for CVE-2021-39228 (2)

Vendor Advisories for CVE-2021-39228 (1)

Other References for CVE-2021-39228 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-39228

No comments yet


Leave a comment