noyalib is vulnerable to Improper Input Validation
41
Medium Risk
Affected versions of noyalib silently collapse distinct-typed YAML mapping keys on the default from_str::<Value> path. Keys that stringify to the same spelling (for example integer 1 and string "1", or true and "true") overwrite each other, causing silent data loss. The same NoSpanLoader fast path also skipped DoS budgets (max_sequence_length, max_mapping_keys, max_merge_keys, max_documents, and the alias-bytes billion-laughs cap), so crafted input could exhaust CPU or memory. Separately, CST set / set_value could write through an alias reference and corrupt a different key's value. Version 0.0.14 raises Error::KeyCollision, enforces the budgets on the Value path, and refuses alias-backed CST edits.
You are affected if you are using a version that falls within the vulnerable range and you parse untrusted YAML with from_str::<Value> (or mutate CST documents with set / set_value).
noyalib is vulnerable to Improper Input Validation in versions 0.0.1 - 0.0.13.
Upgrade the noyalib library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant