Vulnerabilities in pkg:gem/activemodel
PACKAGECVE-2016-0753 is a MODERATE (CVSS 5.3) activemodel contains improper input validation vulnerability (CWE-20: Improper Input Validation) affecting Activemodel libraries in the RubyGems ecosystem. The issue involves activemodel contains improper input validation. Remediation is available by upgrading affected packages to version 4.1.14.1, 4.2.5.1.
pkg:gem/activemodel
Vulnerability advisories affecting package pkg:gem/activemodel. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-543v-gj2c-r3ch | CVE-2016-0753 | MODERATE | activemodel contains Improper Input Validation |
| GHSA-v543-gqhh-6gww | - | MODERATE | Duplicate Advisory: Moderate severity vulnerability that affects activemodel |
CVE-2016-0753 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2016-0753
To remediate this vulnerability, upgrade all affected Activemodel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade activemodel to 4.1.14.1
Upgrade activemodel to 4.2.5.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for activemodel
How to Check if You Are Affected
To determine whether your application is affected by CVE-2016-0753, inspect your project dependencies for Activemodel:
inspect dependencies for activemodel
Analyze the terminal output to locate any version of Activemodel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.14.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Activemodel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2016-0753 Affected Activemodel Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
activemodel
|
RubyGems |
≥ 4.1.0
< 4.1.14.1
|
4.1.14.1
|
|
activemodel
|
RubyGems |
≥ 4.2.0
< 4.2.5.1
|
4.2.5.1
|
References
Frequently Asked Questions
What is CVE-2016-0753?
Which Activemodel versions are affected?
What version fixes CVE-2016-0753?
Is activemodel affected?
What is the CVSS score of CVE-2016-0753?
What CWE is associated with CVE-2016-0753?
How can I check RubyGems dependencies for CVE-2016-0753?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-543v-gj2c-r3ch",
"modified" : "2023-06-30T21:32:03Z",
"published" : "2017-10-24T18:33:35Z",
"aliases" : [ "CVE-2016-0753" ],
"summary" : "activemodel contains Improper Input Validation",
"details" : "Active Model in Ruby on Rails 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 supports the use of instance-level writers for class accessors, which allows remote attackers to bypass intended validation steps via crafted parameters.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "activemodel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.1.0"
}, {
"fixed" : "4.1.14.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.1.14.0"
}
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "activemodel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "4.2.5.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.2.5.0"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-0753"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rails/rails"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activemodel/CVE-2016-0753.yml"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#!topic/rubyonrails-security/6jQVC1geukQ"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20160405205300/http://www.securitytracker.com/id/1034816"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228000230/http://www.securityfocus.com/bid/82247"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20210613054843/https://groups.google.com/forum/message/raw?msg=ruby-security-ann/6jQVC1geukQ/3Iy0GU1ZEgAJ"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178041.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178043.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178047.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178065.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178066.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2016-0296.html"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2016/dsa-3464"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2016/01/25/14"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T20:59:56Z",
"nvd_published_at" : "2016-02-16T02:59:07Z"
}
}