{"id":"RUSTSEC-2018-0001","summary":"An integer underflow could lead to panic","details":"A mistake in error handling in untrusted before 0.6.2 could lead to an integer\nunderflow and panic if a user of the crate didn't properly check for errors\nreturned by untrusted.\n\nCombination of these two programming errors (one in untrusted and another by\nuser of this crate) could lead to a panic and maybe a denial of service of\naffected software.\n\nThe error in untrusted is fixed in release 0.6.2 released 2018-06-21. It's also\nadvisable that users of untrusted check for their sources for cases where errors\nreturned by untrusted are not handled correctly.","aliases":["CVE-2018-20989","GHSA-wq8f-46ww-6c2h"],"modified":"2023-11-08T04:00:13.244459Z","published":"2018-06-21T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/untrusted"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2018-0001.html"},{"type":"WEB","url":"https://github.com/briansmith/untrusted/pull/20"}],"affected":[{"package":{"name":"untrusted","ecosystem":"crates.io","purl":"pkg:cargo/untrusted"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.6.2"}]}],"ecosystem_specific":{"affects":{"os":[],"arch":[],"functions":[]},"affected_functions":null},"database_specific":{"informational":null,"cvss":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2018-0001.json","categories":[]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}