Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/39097?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39097?format=api", "vulnerability_id": "VCID-f21a-143f-9qay", "summary": "actionpack allows remote attackers to bypass database-query restrictions, perform NULL checks via crafted request\n`actionpack/lib/action_dispatch/http/request.rb` in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 does not properly consider differences in parameter handling between the Active Record component and the Rack interface, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks via a crafted request, as demonstrated by certain `['xyz', nil]` values, a related issue to CVE-2012-2660.", "aliases": [ { "alias": "CVE-2012-2694" }, { "alias": "GHSA-q34c-48gc-m9g8" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/54574?format=api", "purl": "pkg:gem/actionpack@3.0.14", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@3.0.14" }, { "url": "http://public2.vulnerablecode.io/api/packages/54575?format=api", "purl": "pkg:gem/actionpack@3.1.6", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@3.1.6" }, { "url": "http://public2.vulnerablecode.io/api/packages/54576?format=api", "purl": "pkg:gem/actionpack@3.2.6", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@3.2.6" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/54556?format=api", "purl": "pkg:gem/actionpack@3.0.13", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-f21a-143f-9qay" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@3.0.13" }, { "url": "http://public2.vulnerablecode.io/api/packages/51280?format=api", "purl": "pkg:gem/actionpack@3.1.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-7m31-x66p-3bha" }, { "vulnerability": "VCID-dx34-zm9p-1ydc" }, { "vulnerability": "VCID-f21a-143f-9qay" }, { "vulnerability": "VCID-p6yg-d8wm-4bgz" }, { "vulnerability": "VCID-puve-cp8z-zbdr" }, { "vulnerability": "VCID-t9c8-r3yp-sbde" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@3.1.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/51281?format=api", "purl": "pkg:gem/actionpack@3.2.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-7m31-x66p-3bha" }, { "vulnerability": "VCID-dx34-zm9p-1ydc" }, { "vulnerability": "VCID-f21a-143f-9qay" }, { "vulnerability": "VCID-kt2t-d3bx-jydv" }, { "vulnerability": "VCID-p6yg-d8wm-4bgz" }, { "vulnerability": "VCID-puve-cp8z-zbdr" }, { "vulnerability": "VCID-qmvt-9qth-77a6" }, { "vulnerability": "VCID-t9c8-r3yp-sbde" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionpack@3.2.0" } ], "references": [ { "reference_url": "https://github.com/rails/rails", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/rails/rails" }, { "reference_url": "https://github.com/rails/rails/commit/2f3bc0467311781ac1ceb2c8c2b09002c8fe143a", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/rails/rails/commit/2f3bc0467311781ac1ceb2c8c2b09002c8fe143a" }, { "reference_url": "https://github.com/rails/rails/commit/c202638225519b5e1a03ebe523b109c948fb0e52", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/rails/rails/commit/c202638225519b5e1a03ebe523b109c948fb0e52" }, { "reference_url": "https://groups.google.com/group/rubyonrails-security/msg/e2d3a87f2c211def?dmode=source&output=gplain", "reference_id": "", "reference_type": "", "scores": [], "url": "https://groups.google.com/group/rubyonrails-security/msg/e2d3a87f2c211def?dmode=source&output=gplain" }, { "reference_url": "https://groups.google.com/g/rubyonrails-security/c/jILZ34tAHF4/m/7x0hLH-o0-IJ", "reference_id": "", "reference_type": "", "scores": [], "url": "https://groups.google.com/g/rubyonrails-security/c/jILZ34tAHF4/m/7x0hLH-o0-IJ" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2694", "reference_id": "CVE-2012-2694", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2694" }, { "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2012-2694.yml", "reference_id": "CVE-2012-2694.YML", "reference_type": "", "scores": [], "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2012-2694.yml" }, { "reference_url": "https://github.com/advisories/GHSA-q34c-48gc-m9g8", "reference_id": "GHSA-q34c-48gc-m9g8", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-q34c-48gc-m9g8" } ], "weaknesses": [ { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." }, { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-f21a-143f-9qay" }