Advisory

GHSA-h8hx-2c5r-32cf

Also known as: CVE-2021-29435

Summary

Cross-Site Request Forgery (CSRF) in trestle-auth

Details

Impact
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.

Patches
The vulnerability has been fixed in trestle-auth 0.4.2 released to RubyGems.

For more information
If you have any questions or comments about this advisory:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-04-13 17:01 UTC
Modified
2026-07-08 06:29 UTC

Affected packages and fixes

trestle-auth

RubyGems · All systems

Affected

  • introduced 0.4.0, fixed 0.4.2 (ecosystem)

Fixed versions

0.4.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences