Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GHSA-3hhc-qp5v-9p2j] Active Record RCE bug with Serialized Columns #5416

Open
wants to merge 1 commit into
base: levpachmanov/advisory-improvement-5416
Choose a base branch
from

Conversation

levpachmanov
Copy link

Updates

  • Affected products

Comments
Versions prior 3.1.0 doesn't even mention yaml -
https://github.com/rails/rails/blob/v3.0.20/activerecord/lib/active_record.rb

@github-actions github-actions bot changed the base branch from main to levpachmanov/advisory-improvement-5416 March 30, 2025 07:05
@shelbyc
Copy link
Contributor

shelbyc commented Mar 31, 2025

Hi @levpachmanov, I don't agree with setting a minimum vulnerable version based on the contents of https://github.com/rails/rails/blob/v3.0.20/activerecord/lib/active_record.rb. I found fix commits for versions 7.03.1, 6.1.6.1, 6.0.5.1, and 5.2.8.1, and of those, only the fix commits corresponding the the 7.1 and 7.0 branches made any changes to active_record.rb.

I think it's more likely that change in a different file would cause CVE-2022-32224. Can you find a change that's consistent with all of the fix commits and where the vulnerable code was introduced in the repo?

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.

2 participants