CVE-2021-45701 json
Memory Safety Issue when using `patch` or `merge` on `state` and assign the result back to `state`
published 2021-09-16 5 y ago modified 2026-06-17 4 mo ago also CVE-2021-45702 , GHSA-3pp4-64mp-9cg9 , GHSA-9qvw-46gf-4fv8 , GHSA-q2x5-6q7q-r872 , RUSTSEC-2021-0111 , EUVD-2022-0669
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
An issue was discovered in the tremor-script crate before 0.11.6 for Rust. A patch operation may result in a use-after-free.
Patch / fix
- crates.io tremor-script 0.11.6
- linuxfoundation tremor-script 0.11.6
Exploit prediction
1.23% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | tremor-script | >=0.7.2, <0.11.6 >=0.7.3-0, <0.11.6 |
0.11.6 |
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
rustsec.org
/advisories/RUSTSEC-2021-0111.html
web, patch, third-party-advisory, advisory
-
github.com
/tremor-rs/tremor-runtime/pull/1217
web
-
github.com
/tremor-rs/tremor-runtime/commit/1a2efcdbe68e5e7fd0a05836ac32d2cde78a0b2e
web
-
raw.githubusercontent.com
/rustsec/advisory-db/main/crates/tremor-script/RUSTSEC-2021-0111.md
web, mitigation, third-party-advisory
-
github.com
/tremor-rs/tremor-runtime
package
-
nvd.nist.gov
/vuln/detail/CVE-2021-45701
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-45702
advisory
-
crates.io
/crates/tremor-script
package
Sources
- CVE List CVE-2021-45701
- GitHub Advisory GHSA-3pp4-64mp-9cg9
- GitHub Advisory GHSA-q2x5-6q7q-r872
- GitHub Advisory GHSA-9qvw-46gf-4fv8
- NVD CVE-2021-45701
- OSV RUSTSEC-2021-0111
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.