The latest tagged release. There are no long-lived release branches, so a fix ships in the next tag rather than being backported.
Use GitHub's private vulnerability reporting on this repository (Security → Report a vulnerability). It stays private until a fix ships.
Please do not open a public issue for a suspected vulnerability first.
Parser.ParseandScanner.Scanread arbitrary text. A crafted input must not panic, loop forever or read outside the reader; the fuzz targets in the test files cover this.Writerenders caller-built maps. A key or value holding a quotation mark, a backslash or a newline must not change the document's structure, whichquoteand the round-trip fuzz target check.
- Input size and nesting depth. Parsing recurses once per nested section, so a caller reading
untrusted files bounds the reader and rejects absurd depth before or around
Parse. - Which keys and values an application accepts after parsing.