Ruby oj Gem < 3.17.3 Multiple Vulnerabilities
| Reporter | Title | Published | Views | Family All 60 |
|---|---|---|---|---|
| CVE-2026-54500 vulnerabilities | 26 Jun 202620:23 | – | cgr | |
| CVE-2026-54592 vulnerabilities | 26 Jun 202620:23 | – | cgr | |
| CVE-2026-54500 | 16 Jun 202610:50 | – | circl | |
| CVE-2026-54592 | 16 Jun 202610:49 | – | circl | |
| CVE-2026-54500 | 30 Jun 202623:08 | – | cve | |
| CVE-2026-54592 | 30 Jun 202623:16 | – | cve | |
| CVE-2026-54500 Oj: intern.c form_attr has an uninitialized stack read | 30 Jun 202623:08 | – | cvelist | |
| CVE-2026-54592 Oj: Stack Buffer Overflow in Oj::Doc#each_child via Deeply Nested Input | 30 Jun 202623:16 | – | cvelist | |
| CVE-2026-54500 | 30 Jun 202623:08 | – | debiancve | |
| CVE-2026-54592 | 30 Jun 202623:16 | – | debiancve |
10
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(333328);
script_version("1.2");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/08/10");
script_cve_id("CVE-2026-54592", "CVE-2026-54500");
script_xref(name:"IAVB", value:"2026-B-0222");
script_name(english:"Ruby oj Gem < 3.17.3 Multiple Vulnerabilities");
script_set_attribute(attribute:"synopsis", value:
"The remote host has a module installed that is affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The version of the oj Ruby gem installed on the remote host is prior to 3.17.3. It is, therefore, affected by
multiple vulnerabilities:
- Oj::Doc#each_child, when invoked recursively over a deeply nested JSON document, overflows a fixed-size
stack buffer and aborts the process, leading to DoS. (CVE-2026-54592)
- Oj.load in :object mode reads uninitialized stack memory (and, for long keys, reads out of bounds) when
parsing a JSON object whose key is 254 bytes or longer. The interned bytes can surface to the caller,
disclosing process stack memory. (CVE-2026-54500)
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported
version number.");
script_set_attribute(attribute:"see_also", value:"https://github.com/ohler55/oj/security/advisories/GHSA-3m6q-jj5j-38c9");
script_set_attribute(attribute:"see_also", value:"https://github.com/ohler55/oj/security/advisories/GHSA-fm7p-mprw-wjm9");
script_set_attribute(attribute:"solution", value:
"Upgrade to oj version 3.17.3 or later.");
script_set_attribute(attribute:"agent", value:"all");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-54500");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_cwe_id(125);
script_set_attribute(attribute:"vuln_publication_date", value:"2026/06/16");
script_set_attribute(attribute:"patch_publication_date", value:"2026/06/16");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/08/07");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:ohler55:oj");
script_set_attribute(attribute:"stig_severity", value:"I");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ruby_modules_nix_installed.nbin", "ruby_gem_modules_macos_installed.nbin", "ruby_modules_win_installed.nbin");
script_require_keys("Host/ruby/modules/enumerated");
exit(0);
}
include('ruby.inc');
var gem_name = 'oj';
var app_info = ruby_gems::get_app_info(app:gem_name);
if (empty_or_null(app_info))
audit(AUDIT_NOT_INST, gem_name);
vcf::check_all_backporting(app_info:app_info);
var constraints = [
{'fixed_version': '3.17.3'}
];
vcf::check_version_and_report(
app_info:app_info,
constraints:constraints,
severity:SECURITY_WARNING
);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
10 Aug 2026 00:00Current
5.7Medium risk
Vulners AI Score5.7
CVSS 3.17.5
EPSS0.00278
SSVC