{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:trestle-auth_project:trestle-auth:0.4.0:*:*:*:*:ruby:*:*",
              "cpe:2.3:a:trestle-auth_project:trestle-auth:0.4.1:*:*:*:*:ruby:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "0.4.0"
              },
              {
                "last_affected": "0.4.0"
              },
              {
                "introduced": "0.4.1"
              },
              {
                "last_affected": "0.4.1"
              }
            ],
            "source": [
              "CPE_STRING",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "e57cda555a25caf4f6c02bd122cf07cf4b4c7b7a"
            },
            {
              "last_affected": "71d7f3d9f32d2f2cae385a9d9beb397a142b9203"
            },
            {
              "fixed": "cb95b05cdb2609052207af07b4b8dfe3a23c11dc"
            }
          ],
          "repo": "https://github.com/trestleadmin/trestle-auth",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.4.0",
        "0.4.1"
      ]
    }
  ],
  "aliases": [
    "GHSA-h8hx-2c5r-32cf"
  ],
  "database_specific": {},
  "details": "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.",
  "id": "CVE-2021-29435",
  "modified": "2026-07-08T05:36:52.238899303Z",
  "published": "2021-04-13T20:15:21.907Z",
  "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"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}