Advisory

GHSA-jxhw-mg8m-2pj8

Also known as: CVE-2013-0233

Summary

Devise does not properly perform type conversion when performing database queries

Details

Devise gem 2.2.x before 2.2.3, 2.1.x before 2.1.3, 2.0.x before 2.0.5, and 1.5.x before 1.5.4 for Ruby, when using certain databases, does not properly perform type conversion when performing database queries, which might allow remote attackers to cause incorrect results to be returned and bypass security checks via unknown vectors, as demonstrated by resetting passwords of arbitrary accounts.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2017-10-24 18:33 UTC
Modified
2024-12-03 06:09 UTC

Affected packages and fixes

devise

RubyGems · All systems

Affected

  • introduced 2.2.0, fixed 2.2.3 (ecosystem)

Fixed versions

2.2.3

Fix

The export has no generic command for this ecosystem.

devise

RubyGems · All systems

Affected

  • introduced 2.1.0, fixed 2.1.3 (ecosystem)

Fixed versions

2.1.3

Fix

The export has no generic command for this ecosystem.

devise

RubyGems · All systems

Affected

  • introduced 2.0.0, fixed 2.0.5 (ecosystem)

Fixed versions

2.0.5

Fix

The export has no generic command for this ecosystem.

devise

RubyGems · All systems

Affected

  • introduced 1.5.0, fixed 1.5.4 (ecosystem)

Fixed versions

1.5.4

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