{"url":"http://public2.vulnerablecode.io/api/packages/75549?format=json","purl":"pkg:gem/trestle-auth@0.4.0","type":"gem","namespace":"","name":"trestle-auth","version":"0.4.0","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"0.4.2","latest_non_vulnerable_version":"0.4.2","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/51424?format=json","vulnerability_id":"VCID-45p1-cdva-w3hu","summary":"Cross-Site Request Forgery (CSRF) in trestle-auth\n### Impact\n\nA vulnerability in trestle-auth versions 0.4.0 and 0.4.1 allows\nan attacker to create a form that will bypass Rails' built-in\nCSRF protection when submitted by a victim with a trestle-auth\nadmin session. This potentially allows an attacker to alter\nprotected data, including admin account credentials.\n\n### Patches\n\nThe vulnerability has been fixed in trestle-auth 0.4.2 released to RubyGems.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-29435","reference_id":"","reference_type":"","scores":[{"value":"0.00144","scoring_system":"epss","scoring_elements":"0.34373","published_at":"2026-06-04T12:55:00Z"},{"value":"0.00144","scoring_system":"epss","scoring_elements":"0.34428","published_at":"2026-06-09T12:55:00Z"},{"value":"0.00144","scoring_system":"epss","scoring_elements":"0.34408","published_at":"2026-06-08T12:55:00Z"},{"value":"0.00144","scoring_system":"epss","scoring_elements":"0.34451","published_at":"2026-06-07T12:55:00Z"},{"value":"0.00144","scoring_system":"epss","scoring_elements":"0.34487","published_at":"2026-06-06T12:55:00Z"},{"value":"0.00144","scoring_system":"epss","scoring_elements":"0.3447","published_at":"2026-06-05T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-29435"},{"reference_url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/trestle-auth/CVE-2021-29435.yml","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/trestle-auth/CVE-2021-29435.yml"},{"reference_url":"https://github.com/TrestleAdmin/trestle-auth/commit/cb95b05cdb2609052207af07b4b8dfe3a23c11dc","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/TrestleAdmin/trestle-auth/commit/cb95b05cdb2609052207af07b4b8dfe3a23c11dc"},{"reference_url":"https://github.com/TrestleAdmin/trestle-auth/security/advisories/GHSA-h8hx-2c5r-32cf","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3","scoring_elements":""},{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/TrestleAdmin/trestle-auth/security/advisories/GHSA-h8hx-2c5r-32cf"},{"reference_url":"https://rubygems.org/gems/trestle-auth","reference_id":"","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://rubygems.org/gems/trestle-auth"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29435","reference_id":"CVE-2021-29435","reference_type":"","scores":[{"value":"8.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29435"},{"reference_url":"https://github.com/advisories/GHSA-h8hx-2c5r-32cf","reference_id":"GHSA-h8hx-2c5r-32cf","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-h8hx-2c5r-32cf"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/80293?format=json","purl":"pkg:gem/trestle-auth@0.4.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/trestle-auth@0.4.2"}],"aliases":["CVE-2021-29435","GHSA-h8hx-2c5r-32cf"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-45p1-cdva-w3hu"}],"fixing_vulnerabilities":[],"risk_score":"4.0","resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/trestle-auth@0.4.0"}