{"id":"CVE-2021-29435","aliases":["GHSA-h8hx-2c5r-32cf"],"url":"https://o3.security/vulnerability/CVE-2021-29435","summary":"Cross-Site Request Forgery (CSRF) in trestle-auth","details":"### Impact\nA 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.\n\n### Patches\nThe vulnerability has been fixed in trestle-auth 0.4.2 released to RubyGems.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [trestle-auth](https://github.com/TrestleAdmin/trestle-auth/issues)\n* Email the maintainer at [sam@sampohlenz.com](mailto:sam@sampohlenz.com)","published":"2021-04-13T20:15:21.907Z","modified":"2026-07-09T10:01:38.960495Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"RubyGems","name":"trestle-auth","fixedVersion":"0.4.2"}],"fix":{"url":"https://github.com/TrestleAdmin/trestle-auth/commit/cb95b05cdb2609052207af07b4b8dfe3a23c11dc","label":"TrestleAdmin/trestle-auth@cb95b05"},"references":[{"type":"ADVISORY","url":"https://github.com/TrestleAdmin/trestle-auth/security/advisories/GHSA-h8hx-2c5r-32cf"},{"type":"ADVISORY","url":"https://rubygems.org/gems/trestle-auth"},{"type":"FIX","url":"https://github.com/TrestleAdmin/trestle-auth/commit/cb95b05cdb2609052207af07b4b8dfe3a23c11dc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29435"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/trestle-auth/CVE-2021-29435.yml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T10:01:38.960495Z"}}