A9 - Using Components with Known Vulnerabilities

Virtually every application has these issues because most development teams don’t focus on ensuring their components/libraries are up to date. In many cases, the developers don’t even know all the components they are using, never mind their versions. Component dependencies make things even worse.

Within the Gemfile the following gem versions are set. These versions of Rails and Rack are both vulnerable to multiple attacks.

				
          gem 'rails', '3.2.11'
          gem 'rack', '1.4.3'
				
			  

To fix this issue, simply update your gems after unpinning the gem versions. You should always run the most up to date version possible and run Bundler-Audit Regularly.

Remeber to keep your gems up to date!