Skip to content

[ruby] Update Gem Dependencies#96

Merged
hayat01sh1da merged 1 commit into
masterfrom
hayat01sh1da/ruby/update-gem-dependencies
Jun 14, 2026
Merged

[ruby] Update Gem Dependencies#96
hayat01sh1da merged 1 commit into
masterfrom
hayat01sh1da/ruby/update-gem-dependencies

Conversation

@hayat01sh1da

@hayat01sh1da hayat01sh1da commented Jun 14, 2026

Copy link
Copy Markdown
Owner

1. Overview

json gem 2.19.9 (released 2026-06-11) is a single-fix security patch over 2.19.8.
It fixes a buffer overflow that could crash the process when generating JSON directly into an IO object via JSON.generate(object, io).
The issue has a CVE pending.
There are no API or behavioural changes — upgrading is safe and strongly recommended.

2. Key Changes

Bug fixes (security):

  • Fixed a buffer overflow that could lead to a crash when writing JSON directly into an IO with JSON.generate(object, io). (CVE pending.)

3. Summary

A focused security patch with one change: it closes a memory-safety bug in the IO-streaming path of JSON.generate.
Applications that pass an IO object as the second argument to JSON.generate were exposed to a potential crash and should upgrade.
No other behaviour changes — a drop-in patch upgrade from 2.19.8.

4. References

@hayat01sh1da hayat01sh1da self-assigned this Jun 14, 2026
@hayat01sh1da hayat01sh1da changed the title Update Gem dependencies [ruby] Update Gem Dependencies Jun 14, 2026

@hayat01sh1da hayat01sh1da left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hayat01sh1da hayat01sh1da merged commit 1bc497e into master Jun 14, 2026
9 checks passed
@hayat01sh1da hayat01sh1da deleted the hayat01sh1da/ruby/update-gem-dependencies branch June 14, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant