{"id":"CVE-2021-25903","aliases":["EUVD-2021-1721","GHSA-gh87-6jr3-8q47","RUSTSEC-2021-0006"],"status":"published","title":"Null pointer deference in cache","description":"An issue was discovered in the cache crate through 2021-01-01 for Rust. A raw pointer is dereferenced.","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-10","score":0.01414,"percentile":0.72954,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-476"],"published":"2021-01-01T12:00:00Z","modified":"2026-06-17T03:42:33Z","affected":[{"source":"ghsa","ecosystem":"crates.io","package":"cache","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"cache","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"cache","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}]}],"products":[{"vendor":"cache_project","product":"cache"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0006.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25903","tags":["advisory"]},{"url":"https://github.com/krl/cache/issues/2","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-gh87-6jr3-8q47"},{"url":"https://github.com/krl/cache","tags":["package"]},{"url":"https://crates.io/crates/cache","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-25903","description":"An issue was discovered in the cache crate through 2021-01-01 for Rust. A raw pointer is dereferenced.","status":"published","published":"2021-01-22T09:02:59Z","modified":"2024-08-03T20:11:28.453Z","updated_at":"2026-11-02T14:32:59.802172Z"}],"euvd":[{"id":"EUVD-2021-1721","description":"An issue was discovered in the cache crate through 2021-01-01 for Rust. A raw pointer is dereferenced.","status":"published","published":"2021-01-22T09:02:59Z","modified":"2024-08-03T20:11:28Z","updated_at":"2026-11-03T03:24:51.962182Z"}],"ghsa":[{"id":"GHSA-gh87-6jr3-8q47","title":"Null pointer deference in cache","description":"An issue was discovered in the cache crate through 2021-01-01 for Rust. A raw pointer is dereferenced.","status":"published","published":"2021-08-25T20:52:57Z","modified":"2023-01-09T05:05:06Z","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-476"],"updated_at":"2026-11-02T14:36:11.367194Z"}],"nvd":[{"id":"CVE-2021-25903","description":"An issue was discovered in the cache crate through 2021-01-01 for Rust. A raw pointer is dereferenced.","status":"published","published":"2021-01-26T18:16:22.443Z","modified":"2026-06-17T03:42:33.077Z","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-476"],"updated_at":"2026-11-02T14:06:49.660551Z"}],"osv":[{"id":"GHSA-gh87-6jr3-8q47","title":"Null pointer deference in cache","description":"An issue was discovered in the cache crate through 2021-01-01 for Rust. A raw pointer is dereferenced.","status":"published","published":"2021-08-25T20:52:57Z","modified":"2023-11-08T04:05:16.675296Z","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-476"],"updated_at":"2026-11-02T15:46:47.822182Z"},{"id":"RUSTSEC-2021-0006","title":"Exposes internally used raw pointer","description":"Affected versions of this crate dereference a raw pointer that can be modified\nwithout using `unsafe` code.","status":"published","published":"2021-01-01T12:00:00Z","modified":"2023-11-08T04:05:16.675296Z","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"}]}}
