{"id":"GHSA-4xcc-23fx-w2wj","aliases":["RUSTSEC-2026-0333"],"status":"published","title":"Resource budgets not enforced on the typed deserialization path","description":"`ParserConfig::max_events`, `max_nodes`, `max_total_scalar_bytes`,\n`max_merge_keys`, `alias_anchor_ratio` and the alias jump factor were\nenforced only by the two `Value` loaders. A typed target with a\ndefault-shaped configuration is served by the streaming deserializer,\nwhich never read those fields, so tightening any of them had no effect\non `from_str::\u003cT\u003e` for a struct target. The default document-length,\ndepth and alias-count caps were enforced on every path, so no input was\nunbounded; the gap affects callers who tightened the other budgets for\nhostile input.\n\nVersion 0.0.53 charges every budget on the streaming path as well and\nadds cross-path parity tests.\n\nUsers who cannot upgrade can deserialize into `noyalib::Value` first and\nconvert with `from_value`, or rely on `max_document_length` and\n`max_depth`, which were always applied on every path.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2026-10-06T12:00:00Z","modified":"2026-10-08T15:00:03Z","fixes":[{"ecosystem":"crates.io","package":"noyalib","fixed_in":["0.0.53"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"crates.io","package":"noyalib","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.0.53"}]}]}],"references":[{"url":"https://crates.io/crates/noyalib","tags":["package"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0333.html","tags":["advisory"]},{"url":"https://github.com/sebastienrousseau/noyalib/pull/470","tags":["web"]}],"sources":{"osv":[{"id":"RUSTSEC-2026-0333","title":"Resource budgets not enforced on the typed deserialization path","description":"`ParserConfig::max_events`, `max_nodes`, `max_total_scalar_bytes`,\n`max_merge_keys`, `alias_anchor_ratio` and the alias jump factor were\nenforced only by the two `Value` loaders. A typed target with a\ndefault-shaped configuration is served by the streaming deserializer,\nwhich never read those fields, so tightening any of them had no effect\non `from_str::\u003cT\u003e` for a struct target. The default document-length,\ndepth and alias-count caps were enforced on every path, so no input was\nunbounded; the gap affects callers who tightened the other budgets for\nhostile input.\n\nVersion 0.0.53 charges every budget on the streaming path as well and\nadds cross-path parity tests.\n\nUsers who cannot upgrade can deserialize into `noyalib::Value` first and\nconvert with `from_value`, or rely on `max_document_length` and\n`max_depth`, which were always applied on every path.","status":"published","published":"2026-10-06T12:00:00Z","modified":"2026-10-08T15:00:03.204356893Z","updated_at":"2026-11-02T15:53:40.430679Z"}]}}
