{"id":"CVE-2021-29435","published":"2021-04-13T17:00:21Z","modified":"2024-08-03T22:02:51Z","title":"Cross-Site Request Forgery (CSRF) in trestle-auth","vendor":"TrestleAdmin","product":"trestle-auth","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00663,"percentile":0.52625,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://github.com/TrestleAdmin/trestle-auth/security/advisories/GHSA-h8hx-2c5r-32cf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/TrestleAdmin/trestle-auth/commit/cb95b05cdb2609052207af07b4b8dfe3a23c11dc","tags":["x_refsource_MISC"]},{"url":"https://rubygems.org/gems/trestle-auth","tags":["x_refsource_MISC"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":10.53},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"trestleadmin","affectedVersions":[{"vendor":"TrestleAdmin","product":"trestle-auth","versions":[">= 0.4.0, < 0.4.2"]}],"affected":[{"ecosystem":"RubyGems","package":"trestle-auth","vulnerableRanges":[">=0.4.0, <0.4.2"],"patched":["0.4.2"],"from":["GHSA-h8hx-2c5r-32cf"],"provenance":"source"}],"summary":{"text":"The flaw is a Cross-Site Request Forgery weakness in the authentication component of trestle-auth, an authentication plugin for the Trestle admin framework from TrestleAdmin. It lets a crafted form bypass Rails' built-in CSRF protection when a victim with an active trestle-auth admin session submits it, so an attacker can alter protected data, including admin account credentials, provided the victim is tricked into interacting with the form over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:13:48Z"},"euvd":{"id":"EUVD-2021-0831","exploited":false,"provenance":"source"}}