{"id":"RUSTSEC-2024-0448","revision":"ec3a560bd7d7409787dd933942a43895","records":[{"revision":"ec3a560bd7d7409787dd933942a43895","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2024-0448","aliases":[],"title":"`parse_arguments` reads a caller-supplied pointer as a slice","description":"`parse_arguments` is safe. It takes `arguments: *const AnyObject` and `argc`, and calls `slice::from_raw_parts(arguments, argc as usize)`.\n\nIt does not check that `arguments` is non-null and aligned, or that `argc` elements are initialized. Safe Rust can pass a null pointer or a length past the allocation. The maintainer confirmed this on 2026-10-03, including a debug abort on Rust 1.78+ when Ruby calls an arity -1 method (`to_s` via `format`, `puts`, or `Array#join`) with a NULL `argv` and `argc` of 0.","state":0,"publishedAt":"2024-11-25T12:00:00+00:00","modifiedAt":"2026-10-03T08:15:02.4557219+00:00","affected":[{"ecosystem":"crates.io","name":"rutie","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.10.3"},{"kind":"introduced","version":"0.11.0"},{"kind":"fixed","version":"0.11.3"},{"kind":"introduced","version":"0.12.0"},{"kind":"fixed","version":"0.12.1"},{"kind":"introduced","version":"0.13.0"},{"kind":"fixed","version":"0.13.1"},{"kind":"introduced","version":"0.14.0"},{"kind":"fixed","version":"0.14.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/rutie","https://rustsec.org/advisories/RUSTSEC-2024-0448.html","https://github.com/danielpclark/rutie/issues/190"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2024-0448","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2024-0448","identifiers":["RUSTSEC-2024-0448"]},"retained":false,"historicalAffected":[]}],"coverage":[]}