Skip to content

Add CVE-2019-25025 for activerecord-session_store - #462

Closed
zofrex wants to merge 1 commit into
rubysec:masterfrom
zofrex:cve-2019-25025
Closed

zofrex wants to merge 1 commit into
rubysec:masterfrom
zofrex:cve-2019-25025

Conversation

@zofrex

@zofrex zofrex commented Mar 5, 2021

Copy link
Copy Markdown
Contributor

No description provided.

@phillmv

phillmv commented Mar 5, 2021

Copy link
Copy Markdown
Member

Hey! Thanks for the submission. Can you provide us with affected versions?

Cheers,

@zofrex

zofrex commented Mar 5, 2021

Copy link
Copy Markdown
Contributor Author

All, I believe, or certainly the most recent at least, it's unpatched: rails/activerecord-session_store#151

I haven't dug back through to see how long ago this was introduced.

@Yadnyawalkya

Copy link
Copy Markdown

Do we have GitHub advisory page for CVE-2019-25025 with all the information?

@rschultheis

Copy link
Copy Markdown
Contributor

We do now have a GHSA for this CVE: GHSA-cvw2-xj8r-mjf7. Thank you for raising this, and please let me know in this thread if any info in that advisory should be changed.

@reedloden reedloden closed this in 54f3320 Mar 9, 2021
pezholio added a commit to dxw/transition that referenced this pull request Mar 9, 2021
This addresses CVE-2019-16782

There has been a vulnerability in the wild[1] around session hijacks in Rack and
related frameworks for a while now, but this has been fixed in Rack and Rails for a
while now. There's a fix for the upstream version of ActiverecordSessionStore
since late 2019[2], but this hasn't been merged yet.

We weren't aware of this issue until recently, as it's only just been added to the
Ruby Advisory DB[3]

This uses a fork of the upstream gem, as suggested in the original PR[4] to fix the
immediate issue.

[1] https://nvd.nist.gov/vuln/detail/CVE-2019-16782
[2] rails/activerecord-session_store#151
[3] rubysec/ruby-advisory-db#462
[4] rails/activerecord-session_store#151 (comment)
pezholio added a commit to dxw/transition that referenced this pull request Mar 9, 2021
This addresses CVE-2019-16782

There has been a [vulnerability in the wild][1] around session hijacks in Rack and
related frameworks for a while now, but this has been fixed in Rack and Rails for a
while now. There's a [fix for the upstream version of ActiverecordSessionStore
since late 2019][2], but this hasn't been merged yet.

We weren't aware of this issue until recently, as it's only [just been added to the
Ruby Advisory DB][3]

This uses a fork of the upstream gem, [as suggested in the original PR][4] to fix
the immediate issue.

[1] https://nvd.nist.gov/vuln/detail/CVE-2019-16782
[2] rails/activerecord-session_store#151
[3] rubysec/ruby-advisory-db#462
[4] rails/activerecord-session_store#151 (comment)
pezholio added a commit to dxw/transition that referenced this pull request Mar 9, 2021
This addresses CVE-2019-16782

There has been a [vulnerability in the wild][1] around session hijacks in Rack and
related frameworks for a while now, but this has been fixed in Rack and Rails for a
while now. There's a [fix for the upstream version of ActiverecordSessionStore
since late 2019][2], but this hasn't been merged yet.

We weren't aware of this issue until recently, as it's only [just been added to the
Ruby Advisory DB][3]

This uses a fork of the upstream gem, [as suggested in the original PR][4] to fix
the immediate issue.

[1]:https://nvd.nist.gov/vuln/detail/CVE-2019-16782
[2]:rails/activerecord-session_store#151
[3]:rubysec/ruby-advisory-db#462
[4]:rails/activerecord-session_store#151 (comment)
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.

4 participants