CVE-2011-0995: Sqlite3 ruby Sqlite3-ruby Uses Weak Permissions For Vulnerability
LOWCVE-2011-0995 is a LOW sqlite3-ruby uses weak permissions for vulnerability (General Security Weakness) affecting Sqlite3 ruby libraries in the RubyGems ecosystem. The issue involves sqlite3-ruby uses weak permissions for unspecified files, which allows local users to gain privileges. Remediation is available by upgrading affected packages to version 1.2.4.
CVE-2011-0995 at a Glance
How to Fix CVE-2011-0995
To remediate this vulnerability, upgrade all affected Sqlite3 ruby 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 sqlite3-ruby to 1.2.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for sqlite3-ruby
How to Check if You Are Affected
To determine whether your application is affected by CVE-2011-0995, inspect your project dependencies for Sqlite3 ruby:
inspect dependencies for sqlite3-ruby
Analyze the terminal output to locate any version of Sqlite3 ruby in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.4), 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 General Security Weakness. In Sqlite3 ruby, 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-2011-0995 Affected Sqlite3 ruby Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sqlite3-ruby
|
RubyGems |
< 1.2.4
|
1.2.4
|
References
Frequently Asked Questions
What is CVE-2011-0995?
Which Sqlite3 ruby versions are affected?
What version fixes CVE-2011-0995?
Is sqlite3-ruby affected?
What CWE is associated with CVE-2011-0995?
How can I check RubyGems dependencies for CVE-2011-0995?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6x46-7rrv-m4h8",
"modified" : "2023-05-12T16:04:23Z",
"published" : "2017-10-24T18:33:38Z",
"aliases" : [ "CVE-2011-0995" ],
"summary" : "sqlite3-ruby uses weak permissions for unspecified files, which allows local users to gain privileges",
"details" : "The sqlite3-ruby gem in the rubygem-sqlite3 package before 1.2.4-0.5.1 in SUSE Linux Enterprise (SLE) 11 SP1 uses weak permissions for unspecified files, which allows local users to gain privileges via unknown vectors.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "sqlite3-ruby"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-0995"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/67263"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sqlite3-ruby/CVE-2011-0995.yml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/schuyler/sqlite3-ruby"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20110513184951/http://support.novell.com/security/cve/CVE-2011-0995.html"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200229151908/http://www.securityfocus.com/bid/47694"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20201106213407/https://bugzilla.novell.com/show_bug.cgi?id=685928"
}, {
"type" : "WEB",
"url" : "https://www.suse.com/security/cve/CVE-2011-0995.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:20:29Z",
"nvd_published_at" : "2011-05-13T17:05:41Z"
}
}