CVE-2021-29435
MEDIUM 6.5CVSS 3.1Cross-Site Request Forgery (CSRF) in trestle-auth
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.
- Published
- 13 Apr 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-352
- Also known as
- GHSA-h8hx-2c5r-32cf
- Sources
- NVDJSONOSV GHSA-h8hx-2c5r-32cfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | trestle-auth_project | trestle-authcpe:2.3:a:trestle-auth_project:trestle-auth:0.4.0:*:*:*:*:ruby:*:* |
= 0.4.0 | |
| NVD | trestle-auth_project | trestle-authcpe:2.3:a:trestle-auth_project:trestle-auth:0.4.1:*:*:*:*:ruby:*:* |
= 0.4.1 | |
| OSV | RubyGems | trestle-auth | >= 0.4.0, < 0.4.2 | 0.4.2 |
References
- https://github.com/TrestleAdmin/trestle-auth/commit/cb95b05cdb2609052207af07b4b8dfe3a23c11dc · Patch, Third Party Advisory, WEB
- https://github.com/TrestleAdmin/trestle-auth/security/advisories/GHSA-h8hx-2c5r-32cf · Third Party Advisory, WEB
- https://rubygems.org/gems/trestle-auth · Product, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-29435 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/trestle-auth/CVE-2021-29435.yml · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 13 Apr 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Apr 2021)