CVE-2018-20989
HIGH 7.5CVSS 3.0Integer underflow in untrusted
An issue was discovered in the untrusted crate before 0.6.2 for Rust. Error handling can trigger an integer underflow and panic.
- Published
- 26 Aug 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-191
- Also known as
- GHSA-wq8f-46ww-6c2hRUSTSEC-2018-0001
- Sources
- NVDJSONOSV GHSA-wq8f-46ww-6c2hJSONOSV RUSTSEC-2018-0001JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/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 | untrusted_project | untrustedcpe:2.3:a:untrusted_project:untrusted:*:*:*:*:*:*:*:* |
< 0.6.2 | 0.6.2 |
| OSV | crates.io | untrusted | < 0.6.2 | 0.6.2 |
| OSV | crates.io | untrusted | >= 0.0.0-0, < 0.6.2 | 0.6.2 |
References
- https://rustsec.org/advisories/RUSTSEC-2018-0001.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2018-20989 · ADVISORY
- https://github.com/briansmith/untrusted/pull/20 · WEB
- https://github.com/briansmith/untrusted · PACKAGE
- https://crates.io/crates/untrusted · PACKAGE
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 26 Aug 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Jun 2018)