CVE-2021-29435 json
Cross-Site Request Forgery (CSRF) in trestle-auth
published 2021-04-13 5 y ago modified 2026-07-08 4 mo ago also GHSA-h8hx-2c5r-32cf , EUVD-2021-0831
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Exploit prediction
0.66% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | trestle-auth | >=0.4.0, <0.4.2 |
0.4.2 |
Affected products
- TrestleAdmin trestle-auth
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
github.com
/TrestleAdmin/trestle-auth/commit/cb95b05cdb2609052207af07b4b8dfe3a23c11dc
web, patch, third-party-advisory
-
github.com
/TrestleAdmin/trestle-auth/security/advisories/GHSA-h8hx-2c5r-32cf
web, third-party-advisory
-
rubygems.org
/gems/trestle-auth
web, product, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-29435
advisory
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/trestle-auth/CVE-2021-29435.yml
web
Sources
- CVE List CVE-2021-29435
- GitHub Advisory GHSA-h8hx-2c5r-32cf
- NVD CVE-2021-29435
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.