{"id":"CVE-2020-35890","aliases":["EUVD-2021-1850","GHSA-4wj3-p7hj-cvx8","GHSA-qrwc-jxf5-g8x6","RUSTSEC-2020-0038"],"status":"published","title":"Out of bounds read in ordnung","description":"An issue was discovered in the ordnung crate through 2020-09-03 for Rust. compact::Vec violates memory safety via out-of-bounds access for large capacity.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01407,"percentile":0.72802,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-125","CWE-415"],"published":"2020-09-03T12:00:00Z","modified":"2026-06-17T03:14:32Z","affected":[{"source":"ghsa","ecosystem":"crates.io","package":"ordnung","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"ordnung","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.1"}]}],"bundled":2},{"source":"osv","ecosystem":"crates.io","package":"ordnung","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.1"}]}],"bundled":2},{"source":"osv","ecosystem":"crates.io","package":"ordnung","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"bundled":2}],"products":[{"vendor":"ordnung_project","product":"ordnung"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0038.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35890","tags":["advisory"]},{"url":"https://github.com/maciejhirsz/ordnung/issues/8","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-qrwc-jxf5-g8x6"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35891","tags":["advisory"]},{"url":"https://github.com/maciejhirsz/ordnung","tags":["package"]},{"url":"https://crates.io/crates/ordnung","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-35890","description":"An issue was discovered in the ordnung crate through 2020-09-03 for Rust. compact::Vec violates memory safety via out-of-bounds access for large capacity.","status":"published","published":"2020-12-31T08:24:40Z","modified":"2024-08-04T17:16:13.013Z","updated_at":"2026-11-02T14:35:57.975444Z"}],"euvd":[{"id":"EUVD-2021-1850","description":"An issue was discovered in the ordnung crate through 2020-09-03 for Rust. compact::Vec violates memory safety via out-of-bounds access for large capacity.","status":"published","published":"2020-12-31T08:24:40Z","modified":"2024-08-04T17:16:13Z","updated_at":"2026-11-03T03:07:04.065361Z"}],"ghsa":[{"id":"GHSA-qrwc-jxf5-g8x6","title":"Out of bounds read in ordnung","description":"An issue was discovered in the ordnung crate through version 0.0.1 for Rust. compact::Vec violates memory safety via out-of-bounds access for large capacity.","status":"published","published":"2021-08-25T20:48:40Z","modified":"2023-06-13T20:13:47Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:36:54.225318Z"}],"nvd":[{"id":"CVE-2020-35890","description":"An issue was discovered in the ordnung crate through 2020-09-03 for Rust. compact::Vec violates memory safety via out-of-bounds access for large capacity.","status":"published","published":"2020-12-31T10:15:16.723Z","modified":"2026-06-17T03:14:32.67Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:06:28.340168Z"}],"osv":[{"id":"GHSA-4wj3-p7hj-cvx8","title":"Double free in ordnung","description":"An issue was discovered in the ordnung crate through version 0.0.1 for Rust. compact::Vec violates memory safety via a remove() double free.","status":"published","published":"2021-08-25T20:48:47Z","modified":"2023-11-08T04:03:37.807358Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T15:46:37.528068Z"},{"id":"GHSA-qrwc-jxf5-g8x6","title":"Out of bounds read in ordnung","description":"An issue was discovered in the ordnung crate through version 0.0.1 for Rust. compact::Vec violates memory safety via out-of-bounds access for large capacity.","status":"published","published":"2021-08-25T20:48:40Z","modified":"2023-11-08T04:03:37.807358Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:46:55.122811Z"},{"id":"RUSTSEC-2020-0038","title":"Memory safety issues in `compact::Vec`","description":"`compact::Vec` contains multiple memory safety issues.\n\n1. It mishandles large capacity and causes out-of-bound access in 32-bit / allocator layout mismatch in 64-bit.\n2. `remove()` is not panic-safe and causes double-free when an index larger than the length is provided.","status":"published","published":"2020-09-03T12:00:00Z","modified":"2023-11-08T04:03:37.807358Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
