Advisory

GHSA-jp57-9j37-5476

Also known as: CVE-2013-2506

Summary

spree_auth_devise allows remote authenticated users to assign themselves arbitrary roles

Details

app/models/spree/user.rb in spree_auth_devise in Spree 1.1.x before 1.1.6, 1.2.x, and 1.3.x does not perform mass assignment safely when updating a user, which allows remote authenticated users to assign arbitrary roles to themselves.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 05:13 UTC
Modified
2024-12-07 05:38 UTC

Affected packages and fixes

spree_auth_devise

RubyGems · All systems

Affected

  • introduced 1.0.0, fixed 3.0.5 (ecosystem)

Fixed versions

3.0.5

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