Skip to content
  • Zack Deveau's avatar
    2a5f4686
    Added integer width check to PostgreSQL::Quoting · 2a5f4686
    Zack Deveau authored
    Given a value outside the range for a 64bit signed integer type
    PostgreSQL will treat the column type as numeric.
    Comparing integer values against numeric values can result
    in a slow sequential scan.
    
    This behavior is configurable via
    ActiveRecord.raise_int_wider_than_64bit which defaults to true.
    
    [CVE-2022-44566]
    2a5f4686
    Added integer width check to PostgreSQL::Quoting
    Zack Deveau authored
    Given a value outside the range for a 64bit signed integer type
    PostgreSQL will treat the column type as numeric.
    Comparing integer values against numeric values can result
    in a slow sequential scan.
    
    This behavior is configurable via
    ActiveRecord.raise_int_wider_than_64bit which defaults to true.
    
    [CVE-2022-44566]
Loading