{"id":"RUSTSEC-2024-0448","aliases":["RUSTSEC-2024-0448"],"related":[],"kind":"vulnerability","state":"published","title":"`parse_arguments` reads a caller-supplied pointer as a slice","summary":"`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.","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"`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.","format":"markdown","source":"rustsec"}],"published":"2024-11-25T12:00:00.000Z","modified":"2026-10-03T08:15:02.455Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.10.3"},{"type":"semver","introduced":"0.11.0","status":"affected","fixed":"0.11.3"},{"type":"semver","introduced":"0.12.0","status":"affected","fixed":"0.12.1"},{"type":"semver","introduced":"0.13.0","status":"affected","fixed":"0.13.1"},{"type":"semver","introduced":"0.14.0","status":"affected","fixed":"0.14.1"}],"ecosystem":"crates.io","package":"rutie","purl":"pkg:cargo/rutie","source":"rustsec"}],"references":[{"url":"https://crates.io/crates/rutie","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0448.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/danielpclark/rutie/issues/190","tags":["report"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2024-0448","url":"https://rustsec.org/advisories/RUSTSEC-2024-0448.html","licence":"CC0-1.0","modified":"2026-10-03T08:15:02.455Z"}],"updatedAt":"2026-11-25T22:56:43.241Z"}