Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checks for CVE-2013-02{69, 76, 77} #262

Merged
merged 8 commits into from
Feb 13, 2013
Merged

Conversation

presidentbeef
Copy link
Owner

Add checks for CVE-2013-0269, CVE-2013-0276, and CVE-2013-0277.

Upgrades confidence on attr_protected to medium and changes warning message if affected by CVE.

Checks for models using serialize and warns if affected by CVE. Confidence level is medium if the attributes are protected from mass assignment, high otherwise.

JSON check looks for json or json_pure gem versions in Gemfile.lock. Warning level is based on gem version and whether or not JSON.parse is called. Does not check argument to JSON.parse, because I don't want to spend too much CPU on a situation where people should really just upgrade anyway.

@oreoshake
Copy link
Contributor

🍍

presidentbeef added a commit that referenced this pull request Feb 13, 2013
@presidentbeef presidentbeef merged commit fed31f5 into master Feb 13, 2013
Repository owner locked and limited conversation to collaborators Feb 16, 2016
@presidentbeef presidentbeef deleted the CVE-2013-0276_and_0277 branch July 22, 2016 19:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants