CVE-2021-27377 json
Use-after-free in yottadb
published 2021-02-09 5 y ago modified 2026-06-17 4 mo ago also GHSA-9658-c26v-7qvf , RUSTSEC-2021-0022 , EUVD-2021-1651
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
An issue was discovered in the yottadb crate before 1.2.0 for Rust. For some memory-allocation patterns, ydb_subscript_next_st and ydb_subscript_prev_st have a use-after-free.
Patch / fix
- crates.io yottadb 1.2.0
- yottadb yottadb 1.2.0
Exploit prediction
1.35% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2021-0022.html referenced PoC, tagged "exploit" by a source, unverified
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 |
| OSV | 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 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | yottadb | <1.2.0 >=0.0.0-0, <1.2.0 |
1.2.0 |
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
rustsec.org
/advisories/RUSTSEC-2021-0022.html
web, exploit, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-27377
advisory
-
gitlab.com
/YottaDB/Lang/YDBRust
package
-
gitlab.com
/YottaDB/Lang/YDBRust/-/issues/40
web, report
-
crates.io
/crates/yottadb
package
Sources
- CVE List CVE-2021-27377
- GitHub Advisory GHSA-9658-c26v-7qvf
- NVD CVE-2021-27377
- OSV RUSTSEC-2021-0022
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.