Skip to main content
← All vulnerabilities
CVE-2022-44566GHSA-579W-22J4-4749

A denial of service vulnerability present in ActiveRecord's PostgreSQL adapter <7.0.4.1 and <6.1.7.1.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.7.1, 7.0.4.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

A denial of service vulnerability present in ActiveRecord's PostgreSQL adapter <7.0.4.1 and <6.1.7.1. When a value outside the range for a 64bit signed integer is provided to the PostgreSQL connection adapter, it will treat the target column type as numeric. Comparing integer values against numeric values can result in a slow sequential scan resulting in potential Denial of Service.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a https://github.com/rails/rails

    Version range not reported

  • activerecordRubyGems

    fixed in 6.1.7.1

  • activerecordRubyGems

    From 7.0.0 · fixed in 7.0.4.1

References 2

discuss.rubyonrails.org

code.jeremyevans.net