Race Condition Affecting rails package, versions <1.2.6-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
3.87% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-RAILS-1558837
  • published21 Nov 2007
  • disclosed21 Nov 2007

Introduced: 21 Nov 2007

CVE-2007-6077  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Debian:12 rails to version 1.2.6-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rails package and not the rails package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

The session fixation protection mechanism in cgi_process.rb in Rails 1.2.4, as used in Ruby on Rails, removes the :cookie_only attribute from the DEFAULT_SESSION_OPTIONS constant, which effectively causes cookie_only to be applied only to the first instantiation of CgiRequest, which allows remote attackers to conduct session fixation attacks. NOTE: this is due to an incomplete fix for CVE-2007-5380.

CVSS Scores

version 3.1