{"ecosystem":"cargo","package":"untrusted","version":null,"bugs":[{"id":4590,"ecosystem":"cargo","package_name":"untrusted","affected_version":null,"fixed_version":"0.6.2","bug_id":"osv:GHSA-wq8f-46ww-6c2h","title":"Integer underflow in untrusted","description":"A mistake in error handling in untrusted before 0.6.2 could lead to an integer underflow and panic if a user of the crate didn't properly check for errors returned by untrusted. Combination of these two programming errors (one in untrusted and another by user of this crate) could lead to a panic and maybe a denial of service of affected software. The error in untrusted is fixed in release 0.6.2 released 2018-06-21. It's also advisable that users of untrusted check for their sources for cases where errors returned by untrusted are not handled correctly.","severity":"high","status":"fixed","source":"osv","source_url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20989","labels":["CVE-2018-20989","RUSTSEC-2018-0001"],"created_at":"2026-04-26 03:01:27.611217+00:00","updated_at":"2026-04-26 03:01:27.611217+00:00"},{"id":4591,"ecosystem":"cargo","package_name":"untrusted","affected_version":"0.0.0-0","fixed_version":"0.6.2","bug_id":"osv:RUSTSEC-2018-0001","title":"An integer underflow could lead to panic","description":"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.","severity":"medium","status":"fixed","source":"osv","source_url":"https://crates.io/crates/untrusted","labels":["CVE-2018-20989","GHSA-wq8f-46ww-6c2h"],"created_at":"2026-04-26 03:01:27.624906+00:00","updated_at":"2026-04-26 03:01:27.624906+00:00"}],"total":2,"_cache":"hit"}