CVE-2019-17268
Ruby vulnerability analysis and mitigation

Overview

The omniauth-weibo-oauth2 gem version 0.4.6 for Ruby, as distributed on RubyGems.org, was compromised with a code-execution backdoor that was maliciously inserted by a third party. The vulnerability was discovered in October 2019 and was assigned CVE-2019-17268. Importantly, versions through 0.4.5, and versions 0.5.1 and later are not affected by this vulnerability (NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 Base Score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating a critical severity level. The vulnerability is classified under CWE-94, which refers to 'Improper Control of Generation of Code (Code Injection)' (NVD).

Impact

The presence of a code-execution backdoor in the gem could allow attackers to execute arbitrary code on systems where the vulnerable version is installed. Given the CVSS score and vector string, the vulnerability provides complete access to system resources, potentially compromising the confidentiality, integrity, and availability of the affected system (NVD).

Mitigation and workarounds

Users should immediately upgrade to version 0.5.1 or later, or downgrade to version 0.4.5 or earlier, as these versions are unaffected by the vulnerability. The malicious code was only present in version 0.4.6 (NVD).

Community reactions

The vulnerability was reported to the CVE database by security researchers, and the issue was documented in the project's GitHub repository (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68271CRITICAL10
  • RubyRuby
  • openc3
NoYesJan 13, 2026
GHSA-5qw5-wf2q-f538HIGH8.8
  • RubyRuby
  • activerecord-jdbc-adapter
NoYesJan 16, 2026
CVE-2026-22589HIGH7.5
  • RubyRuby
  • spree_core
NoYesJan 10, 2026
CVE-2026-23885MEDIUM6.6
  • RubyRuby
  • alchemy_cms
NoYesJan 19, 2026
GHSA-mpwp-4h2m-765cMEDIUM6.6
  • RubyRuby
  • activejob
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management