Improper Input Validation in actionpack
        
  Moderate severity
        
          GitHub Reviewed
      
        Published
          Oct 24, 2017 
          to the GitHub Advisory Database
          •
          Updated May 26, 2023 
      
  
Package
Affected versions
>= 2.1.0, < 2.1.3
      >= 2.2.0, < 2.2.2
  Patched versions
2.1.3
      2.2.2
  Description
        Published by the National Vulnerability Database
      Dec 16, 2009 
    
  
        Published to the GitHub Advisory Database
      Oct 24, 2017 
    
  
        Reviewed
      Jun 16, 2020 
    
  
        Last updated
      May 26, 2023 
    
  
Ruby on Rails 2.1 before 2.1.3 and 2.2.x before 2.2.2 does not verify tokens for requests with certain content types, which allows remote attackers to bypass cross-site request forgery (CSRF) protection for requests to applications that rely on this protection, as demonstrated using text/plain.
References