{"answers":{"affected":"2 open source packages ship an affected version, including sqlite3-ruby. It affects 2 products.","exploited":"There is no known exploitation of CVE-2011-0995 in the wild and no public exploit code.","fix":"Upgrade sqlite3-ruby to 1.2.4 or later.","what":"CVE-2011-0995 is a low-severity vulnerability in n/a, published on 13 May 2011. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2011-0995 and fix it if it is affected.\n\nWhat it is: CVE-2011-0995 is a low-severity vulnerability in n/a, published on 13 May 2011. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2011-0995 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- sqlite3-ruby (RubyGems): affected all versions; fixed in 1.2.4\n- sqlite3-ruby (RubyGems): affected all versions; fixed in 1.2.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2011-0995/ (Markdown: https://insights.sbomify.com/CVE-2011-0995/index.md)","id":"CVE-2011-0995","markdown":"https://insights.sbomify.com/CVE-2011-0995/index.md","name":"CVE-2011-0995","record":{"aliases":["GHSA-6x46-7rrv-m4h8"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Ruby SQLite3 gem","requires_auth":"low_privilege","summary":"Local attackers can exploit weak file permissions in the sqlite3-ruby gem to escalate privileges on SUSE Linux Enterprise systems.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"suse_linux_enterprise","vendor":"novell"},{"product":"rubygem-sqlite3","vendor":"rubyforge"}],"cvss":{"score":2.1,"severity":"low","source":"nvd","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"description":"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.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"sqlite3-ruby uses weak permissions for unspecified files, which allows local users to gain privileges","id":"CVE-2011-0995","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"privilege_escalation","year":"2011"},"n_packages":2,"n_references":6,"next":{"headline":"Command injection in n/a","id":"CVE-2011-0996"},"packages":[{"ecosystem":"RubyGems","fixed":["1.2.4"],"introduced":["0"],"last_affected":[],"package":"sqlite3-ruby","purl":null,"source":"GHSA-6x46-7rrv-m4h8"},{"ecosystem":"RubyGems","fixed":["1.2.4"],"introduced":["0"],"last_affected":[],"package":"sqlite3-ruby","purl":"pkg:gem/sqlite3-ruby","source":"GHSA-6x46-7rrv-m4h8"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2011-0994"},"products":["n/a"],"published":"2011-05-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Local attackers can exploit weak file permissions in the sqlite3-ruby gem to escalate privileges on SUSE Linux Enterprise systems.","url":"https://insights.sbomify.com/CVE-2011-0995/"}