Skip to content

Commit 0840799

Browse files
jasnowpostmodern
authored andcommitted
GHSA SYNC: 1 brand new advisory
1 parent 351d21d commit 0840799

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
gem: google_sign_in
3+
cve: 2025-58067
4+
ghsa: 5jch-xhw4-r43v
5+
url: https://github.com/basecamp/google_sign_in/security/advisories/GHSA-5jch-xhw4-r43v
6+
title: Google Sign-In for Rails allowed redirect to protocol-relative URI
7+
date: 2025-08-29
8+
description: |
9+
## Summary
10+
11+
It is possible to redirect a user to another origin if the
12+
"proceed_to" value in the session store is set to a
13+
protocol-relative URL.
14+
15+
## Details
16+
17+
The google_sign_in gem persists an optional URL for redirection
18+
after authentication. If this URL is set to a protocol-relative URL,
19+
it improperly passes the "same origin" check, and it's possible
20+
for the user to be redirected to another origin after authentication,
21+
possibly resulting in exposure of authentication information if
22+
this attack is chained with other attacks.
23+
24+
Normally the value of this URL is only written and read by the
25+
library or the calling application. However, it may be possible to
26+
set this session value from a malicious site with a form submission.
27+
28+
## Impact
29+
30+
Any Rails applications using the google_sign_in gem may be vulnerable,
31+
if this vector can be chained with another attack that is able to
32+
modify the OAuth2 request parameters.
33+
34+
## Workarounds
35+
36+
No known workarounds.
37+
38+
## Credits
39+
40+
This issue was responsibly reported by Hackerone user
41+
[muntrive](https://hackerone.com/muntrive?type=user).
42+
cvss_v3: 4.2
43+
patched_versions:
44+
- ">= 1.3.1"
45+
related:
46+
url:
47+
- https://nvd.nist.gov/vuln/detail/CVE-2025-58067
48+
- https://github.com/basecamp/google_sign_in/security/advisories/GHSA-5jch-xhw4-r43v
49+
- https://github.com/basecamp/google_sign_in/releases/tag/v1.3.1
50+
- https://github.com/basecamp/google_sign_in/pull/75
51+
- https://github.com/basecamp/google_sign_in/commit/e97aef4626b1bcbd2c6f01f7dd25f12ac855d4cc
52+
- https://github.com/advisories/GHSA-5jch-xhw4-r43v

0 commit comments

Comments
 (0)