Repository navigation
2.0.5
Security release. Upgrade if you parse TOML you do not fully trust.
- Fix exponential backtracking (ReDoS) when scanning unterminated basic and literal strings (GHSA-gq8g-3x53-v8fh)
- Fix
SystemStackErrorand quadratic scan time on long runs of spaces/tabs (GHSA-mc56-vpwf-3m26) - Literal strings no longer treat
\'as an escaped quote, per the TOML spec - Add SECURITY.md: report vulnerabilities through GitHub private vulnerability reporting
- Declare racc as a runtime dependency: Ruby 3.3 made it a bundled gem, so under Bundler
require "tomlrb"failed unless the app's Gemfile pulled racc in - Stop shipping the unused
parser.ygrammar source in the gem
Both vulnerabilities were reported by @tsigouris007, advised by @kpatsakis. Thank you!
Full changelog: v2.0.4...v2.0.5