Skip to content

[GHSA-x2f5-4prf-w687] Ruby json: JSON generator heap buffer overflow when streaming to an IO - #12118

Open
Bo98 wants to merge 1 commit into
Bo98/advisory-improvement-12118from
Bo98-GHSA-x2f5-4prf-w687
Open

Bo98 wants to merge 1 commit into
Bo98/advisory-improvement-12118from
Bo98-GHSA-x2f5-4prf-w687

Conversation

@Bo98

@Bo98 Bo98 commented Nov 30, 2026

Copy link
Copy Markdown

Updates

  • Affected products
  • References

Comments
The fix has now been backported to v2.18.5. The upstream advisory has already been updated with the change: GHSA-x2f5-4prf-w687.

Also updated references in a similar fashion to 4252760.

Copilot AI adaptive review requested due to automatic review settings November 30, 2026 16:20
@github

github commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

Hi there @byroot! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.

This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

@github-actions
github-actions Bot changed the base branch from main to Bo98/advisory-improvement-12118 November 30, 2026 16:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The advisory’s top-level modified timestamp predates the 2026-11-27 backport update, so consumers relying on it may not detect the changed affected ranges and references.

1 open issue
What changed in this PR

Updates the Ruby json vulnerability advisory to cover the backported fix in v2.18.5 while preserving the vulnerable 2.19.x range.

Changes:

  • Splits affected versions into 2.9.0–2.18.4 and 2.19.0–2.19.8.
  • Adds the v2.18.5 release and upstream, Red Hat, Bugzilla, CVE, and CSAF references.
  • The advisory’s modified timestamp remains unchanged.
File Description
advisories/​github-reviewed/​2026/​07/​GHSA-x2f5-4prf-w687/​GHSA-x2f5-4prf-w687.json Updates affected RubyGems version ranges and adds references for the backported Ruby json fix.

Review effort: Lite (adaptive)

"events": [
{
"introduced": "2.9.0"
"introduced": "2.19.0"

@Bo98 Bo98 Nov 30, 2026 •

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

The web form automates the modified bump and it evidently didn't do so this time. It gets updated to the actual modification time on merge anyway so any change in the PR is discarded.

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.

3 participants