Live threats

All CVEs / Trestle-auth Project

CVE-2021-29435Trestle-auth Project Trestle-auth

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
0.7%
probability of exploitation in 30 days · percentile 53
Auth required
No
Published
Apr 13, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-352
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Trestle-auth.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems trestle-auth ≥ 0.4.0 < 0.4.2 0.4.2 gem "trestle-auth", ">= 0.4.2"

Per OSV / GitHub Advisories (GHSA-h8hx-2c5r-32cf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
trestle-auth_projecttrestle-auth0.4.0
trestle-auth_projecttrestle-auth0.4.1

Official sources

References

Links published by the sources. Open them with care.