Lucene search
+L

Redis LUA Multiple Vulnerabilities (Sep 2018) - Linux

🗓️ 19 Sep 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 20 Views

Redis LUA Multiple Vulnerabilities (Sep 2018) - Linux. Flaws in Lua related code paths allow remote attackers to corrupt memory and take control of the Redis process

Refs
Code
SourceLink
antirezwww.antirez.com/news/119
# SPDX-FileCopyrightText: 2018 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:redis:redis";

if( description )
{
  script_oid("1.3.6.1.4.1.25623.1.0.814022");
  script_version("2025-10-10T05:39:02+0000");
  script_tag(name:"cvss_base", value:"7.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:C");
  script_tag(name:"last_modification", value:"2025-10-10 05:39:02 +0000 (Fri, 10 Oct 2025)");
  script_tag(name:"creation_date", value:"2018-09-19 12:54:11 +0530 (Wed, 19 Sep 2018)");
  script_name("Redis LUA Multiple Vulnerabilities (Sep 2018) - Linux");

  script_tag(name:"qod_type", value:"remote_banner_unreliable");

  script_tag(name:"solution_type", value:"VendorFix");

  script_tag(name:"summary", value:"Redis is prone to multiple vulnerabilities.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present
  on the target host.");

  script_tag(name:"insight", value:"Multiple flaws exist due to Lua related
  issues in cmsgpack and other code paths when untrusted input is feed via
  the Lua API.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote
  attackers to corrupt the memory, violate the Redis process, and potentially
  taking total control of the Redis process.");

  script_tag(name:"affected", value:"Redis server versions before 3.2.12,
  4.0.x before 4.0.10 and 5.0 before 5.0rc2.");

  script_tag(name:"solution", value:"Upgrade Redis to version 3.2.12 or 4.0.10
  or 5.0rc2 or later. Please see the references for more information.");

  script_xref(name:"URL", value:"http://antirez.com/news/119");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_family("Databases");
  script_dependencies("gb_redis_tcp_detect.nasl");
  script_mandatory_keys("redis/detected");

  exit(0);
}

include("host_details.inc");
include("version_func.inc");

if(!port = get_app_port(cpe:CPE))
  exit(0);

if(!infos = get_app_version_and_location(cpe:CPE, port:port, exit_no_version:TRUE))
  exit(0);

version = infos["version"];
path = infos["location"];

if(version_is_less(version:version, test_version:"3.2.12")) {
  fix = "3.2.12";
}

else if(version_in_range(version:version, test_version:"4.0", test_version2:"4.0.9")) {
  fix = "4.0.10";
}

else if(version == "5.0rc1") {
  fix = "5.0rc2";
}

if(fix) {
  report = report_fixed_ver(installed_version:version, fixed_version:fix, install_path:path);
  security_message(port:port, data:report);
  exit(0);
}

exit(99);

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 Oct 2025 00:00Current
7.8High risk
Vulners AI Score7.8
20