CVE-2018-20989 json
Integer underflow in untrusted
published 8y ago modified 4mo ago also GHSA-wq8f-46ww-6c2h , RUSTSEC-2018-0001 , EUVD-2021-1919
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
An issue was discovered in the untrusted crate before 0.6.2 for Rust. Error handling can trigger an integer underflow and panic.
Patch / fix
- crates.io untrusted 0.6.2
- untrusted_project untrusted 0.6.2
- github.com/briansmith/untrusted#20 pull request
Is CVE-2018-20989 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.41% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.0 | 7.5 | CVSS:3.0/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 | untrusted | <0.6.2 >=0.0.0-0, <0.6.2 |
0.6.2 |
Classification
- Weakness
-
- CWE-191 Integer Underflow (Wrap or Wraparound)
References
-
github.com
/briansmith/untrusted/pull/20
web
-
rustsec.org
/advisories/RUSTSEC-2018-0001.html
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-20989
advisory
-
github.com
/briansmith/untrusted
package
-
crates.io
/crates/untrusted
package
Sources
- CVE List CVE-2018-20989
- GitHub Advisory GHSA-wq8f-46ww-6c2h
- NVD CVE-2018-20989
- OSV RUSTSEC-2018-0001
Fencer Intel 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.