All CVEs / Trestle-auth Project
CVE-2021-29435Trestle-auth Project Trestle-auth
Medium 6.5 No auth needed
Follow: this CVE · Trestle-auth Project · Trestle-auth Project Trestle-auth We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 53
- Auth required
- No
- Published
- Apr 13, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-352
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
What happens
trestle-auth is an authentication plugin for the Trestle admin framework. A vulnerability in trestle-auth versions 0.4.0 and 0.4.1 allows an attacker to create a form that will bypass Rails' built-in CSRF protection when submitted by a victim with a trestle-auth admin session. This potentially allows an attacker to alter protected data, including admin account credentials. The vulnerability has been fixed in trestle-auth 0.4.2 released to RubyGems.
What to do
- Apply the vendor's security update for Trestle-auth.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | trestle-auth |
≥ 0.4.0 < 0.4.2 |
0.4.2 |
gem "trestle-auth", ">= 0.4.2" |
Per OSV / GitHub Advisories (GHSA-h8hx-2c5r-32cf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| trestle-auth_project | trestle-auth | 0.4.0 |
| trestle-auth_project | trestle-auth | 0.4.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- rubygems.org Product Third Party Advisory