Skip to content

Bump json from 2.16.0 to 2.17.1.2#159

Merged
TBlueF merged 1 commit intomasterfrom
dependabot/bundler/json-2.17.1.2
Apr 8, 2026
Merged

Bump json from 2.16.0 to 2.17.1.2#159
TBlueF merged 1 commit intomasterfrom
dependabot/bundler/json-2.17.1.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 19, 2026

Bumps json from 2.16.0 to 2.17.1.2.

Release notes

Sourced from json's releases.

v2.17.1.2

  • Fix a format string injection vulnerability in JSON.parse(doc, allow_duplicate_key: false). CVE-2026-33210

Full Changelog: ruby/json@v2.17.1...v2.17.1.2

v2.17.1

What's Changed

  • Fix a regression in parsing of unicode surogate pairs (\uXX\uXX) that could cause an invalid string to be returned.

Full Changelog: ruby/json@v2.17.0...v2.17.1

v2.17.0

What's Changed

  • Improve JSON.load and JSON.unsafe_load to allow passing options as second argument.
  • Fix the parser to no longer ignore invalid escapes in strings. Only \", \\, \b, \f, \n, \r, \t and \u are valid JSON escapes.
  • Fixed JSON::Coder to use the depth it was initialized with.
  • On TruffleRuby, fix the generator to not call to_json on the return value of as_json for Float::NAN.
  • Fixed handling of state.depth: when to_json changes state.depth but does not restore it, it is reset automatically to its initial value. In particular, when a NestingError is raised, depth is no longer equal to max_nesting after the call to generate, and is reset to its initial value. Similarly when to_json raises an exception.

Full Changelog: ruby/json@v2.16.0...v2.17.0

Changelog

Sourced from json's changelog.

2026-03-18 (2.17.1.2) - Security Backport

  • Fix a format string injection vulnerability in JSON.parse(doc, allow_duplicate_key: false). CVE-2026-33210.

2025-12-04 (2.17.1)

  • Fix a regression in parsing of unicode surogate pairs (\uXX\uXX) that could cause an invalid string to be returned.

2025-12-03 (2.17.0)

  • Improve JSON.load and JSON.unsafe_load to allow passing options as second argument.
  • Fix the parser to no longer ignore invalid escapes in strings. Only \", \\, \b, \f, \n, \r, \t and \u are valid JSON escapes.
  • Fixed JSON::Coder to use the depth it was initialized with.
  • On TruffleRuby, fix the generator to not call to_json on the return value of as_json for Float::NAN.
  • Fixed handling of state.depth: when to_json changes state.depth but does not restore it, it is reset automatically to its initial value. In particular, when a NestingError is raised, depth is no longer equal to max_nesting after the call to generate, and is reset to its initial value. Similarly when to_json raises an exception.
Commits
  • e4a77e1 Release 2.17.1.2
  • e5e4fd5 Release 2.17.1
  • 0fce370 Fix a regression in parsing of unicode surogate pairs
  • 4bdb2d1 Release 2.17.0
  • ccca602 Fix handling of depth
  • 7b62fac Fix duplicated test_unsafe_load_with_options test case
  • e0257b9 Reproduce C ext behavior of ignoring mutated depth in arrays
  • 386b36f Test and restore behavior around to_json changing depth
  • c54de70 Improve JSON.load and JSON.unsafe_load to allow passing options as second...
  • 65d62dc Merge pull request #909 from nobu/macro_args
  • Additional commits viewable in compare view

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Mar 19, 2026
@TBlueF
Copy link
Copy Markdown
Member

TBlueF commented Apr 8, 2026

@dependabot rebase

Bumps [json](https://github.com/ruby/json) from 2.16.0 to 2.17.1.2.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](ruby/json@v2.16.0...v2.17.1.2)

---
updated-dependencies:
- dependency-name: json
  dependency-version: 2.17.1.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/bundler/json-2.17.1.2 branch from e254412 to a4c4479 Compare April 8, 2026 10:45
@TBlueF TBlueF merged commit 7981346 into master Apr 8, 2026
2 checks passed
@dependabot dependabot bot deleted the dependabot/bundler/json-2.17.1.2 branch April 8, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant