FreeBSD : redis,valkey -- Running Lua function as a different user (0258d37d-a118-11f0-9446-f02f7497ecda)

medium Nessus Plugin ID 266601

Language:

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The version of FreeBSD installed on the remote host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the 0258d37d-a118-11f0-9446-f02f7497ecda advisory.

redis reports:

An authenticated user may use a specially crafted Lua script to manipulate different LUA objects and potentially run their own code in the context of another user The problem exists in all versions of Redis with Lua scripting.
An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to block a script by restricting both the EVAL and FUNCTION command families.


Tenable has extracted the preceding description block directly from the FreeBSD security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2025-46818

http://www.nessus.org/u?663ab68c

Plugin Details

Severity: Medium

ID: 266601

File Name: freebsd_pkg_0258d37da11811f09446f02f7497ecda.nasl

Version: 1.2

Type: local

Published: 10/4/2025

Updated: 10/10/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

Vector: CVSS2#AV:L/AC:H/Au:S/C:C/I:C/A:N

CVSS Score Source: CVE-2025-46818

CVSS v3

Risk Factor: Medium

Base Score: 6

Temporal Score: 5.2

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:redis72, p-cpe:/a:freebsd:freebsd:redis74, cpe:/o:freebsd:freebsd, p-cpe:/a:freebsd:freebsd:redis, p-cpe:/a:freebsd:freebsd:redis62, p-cpe:/a:freebsd:freebsd:valkey, p-cpe:/a:freebsd:freebsd:redis80

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 10/4/2025

Vulnerability Publication Date: 10/3/2025

Reference Information

CVE: CVE-2025-46818

IAVA: 2025-A-0731