CVE-2021-45702
HIGH 7.5CVSS 3.1Memory Safety Issue when using `patch` or `merge` on `state` and assign the result back to `state`
An issue was discovered in the tremor-script crate before 0.11.6 for Rust. A merge operation may result in a use-after-free.
- Published
- 27 Dec 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-416
- Also known as
- CVE-2021-45701GHSA-3pp4-64mp-9cg9GHSA-9qvw-46gf-4fv8GHSA-q2x5-6q7q-r872RUSTSEC-2021-0111
- Sources
- NVDJSONOSV GHSA-3pp4-64mp-9cg9JSONOSV GHSA-9qvw-46gf-4fv8JSONOSV GHSA-q2x5-6q7q-r872JSONOSV RUSTSEC-2021-0111JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linuxfoundation | tremor-scriptcpe:2.3:a:linuxfoundation:tremor-script:*:*:*:*:*:rust:*:* |
>= 0.7.2, < 0.11.6 | 0.11.6 |
| OSV | crates.io | tremor-script | >= 0.7.2, < 0.11.6 | 0.11.6 |
| OSV | crates.io | tremor-script | >= 0.7.3-0, < 0.11.6 | 0.11.6 |
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/tremor-script/RUSTSEC-2021-0111.md · Third Party Advisory, WEB
- https://rustsec.org/advisories/RUSTSEC-2021-0111.html · Third Party Advisory, WEB, ADVISORY
- https://github.com/tremor-rs/tremor-runtime/pull/1217 · WEB
- https://github.com/tremor-rs/tremor-runtime · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2021-45702 · ADVISORY
- https://github.com/tremor-rs/tremor-runtime/commit/1a2efcdbe68e5e7fd0a05836ac32d2cde78a0b2e · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-45701 · ADVISORY
- https://crates.io/crates/tremor-script · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 Dec 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Sep 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jun 2022)