Debian dsa-5677 : libruby3.1 - security update

critical Nessus Plugin ID 194971


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


The remote Debian 12 host has packages installed that are affected by multiple vulnerabilities as referenced in the dsa-5677 advisory.

- Buffer overread vulnerability in StringIO [fedora-38] (CVE-2024-27280)

- RCE vulnerability with .rdoc_options in RDoc [fedora-38] (CVE-2024-27281)

- sp2ip reports: If attacker-supplied data is provided to the Ruby regex compiler, it is possible to extract arbitrary heap data relative to the start of the text, including pointers and sensitive strings. (CVE-2024-27282)

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


Upgrade the libruby3.1 packages.

See Also

Plugin Details

Severity: Critical

ID: 194971

File Name: debian_DSA-5677.nasl

Version: 1.1

Type: local

Agent: unix

Published: 5/4/2024

Updated: 6/7/2024

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information


Risk Factor: Medium

Score: 6.0


Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2024-27282


Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/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:debian:debian_linux:ruby3.1-dev, p-cpe:/a:debian:debian_linux:libruby3.1, p-cpe:/a:debian:debian_linux:ruby3.1-doc, cpe:/o:debian:debian_linux:12.0, p-cpe:/a:debian:debian_linux:ruby3.1

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 5/3/2024

Vulnerability Publication Date: 4/23/2024

Reference Information

CVE: CVE-2024-27280, CVE-2024-27281, CVE-2024-27282

IAVA: 2024-A-0328