{"id":"GHSA-4xcc-23fx-w2wj","aliases":["GHSA-4xcc-23fx-w2wj","RUSTSEC-2026-0333"],"related":[],"kind":"vulnerability","state":"published","title":"Resource budgets not enforced on the typed deserialization path","summary":"`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::<T>` 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.","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"`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::<T>` 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.","format":"markdown","source":"rustsec"}],"published":"2026-10-06T12:00:00.000Z","modified":"2026-10-08T15:00:03.204Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.0.53"}],"ecosystem":"crates.io","package":"noyalib","purl":"pkg:cargo/noyalib","source":"rustsec"}],"references":[{"url":"https://crates.io/crates/noyalib","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0333.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/sebastienrousseau/noyalib/pull/470","tags":["web"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0333","url":"https://rustsec.org/advisories/RUSTSEC-2026-0333.html","licence":"CC0-1.0","modified":"2026-10-08T15:00:03.204Z"}],"updatedAt":"2026-11-25T22:56:43.423Z"}