Debian dla-4578 : rails - security update

critical Nessus Plugin ID 314235

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 11 host has packages installed that are affected by a vulnerability as referenced in the dla-4578 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-4578-1 [email protected] https://www.debian.org/lts/security/ Sylvain Beucler May 11, 2026 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : rails Version : 2:6.0.3.7+dfsg-2+deb11u5 CVE ID : CVE-2022-32224 Debian Bug : 1016140

A RCE (Remote Code Execution) escalation was discovered in Ruby on Rails, a MVC Ruby-based framework for web development.

This vulnerability exists when using YAML-serialized columns in Active Record which could allow an attacker, who was able to manipulate data in the database (via means like SQL injection), the ability to escalate to an RCE.

Common and safe YAML serialization is handled in this update (support for primary Ruby data types and Symbol, as well as newly-serialized HashWithIndifferentAccess objects).

If your application serializes other classes as YAML, see the following page to reference these classes in config.active_record.yaml_column_permitted_classes, or disable protection entirely (not recommended, at your own risks) with config.active_record.use_yaml_unsafe_load=true.
https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in- active-record/81017

For Debian 11 bullseye, this problem has been fixed in version 2:6.0.3.7+dfsg-2+deb11u5.

We recommend that you upgrade your rails packages.

For the detailed security status of rails please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/rails

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian 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

Upgrade the rails packages.

See Also

https://security-tracker.debian.org/tracker/source-package/rails

https://security-tracker.debian.org/tracker/CVE-2022-32224

https://packages.debian.org/source/bullseye/rails

Plugin Details

Severity: Critical

ID: 314235

File Name: debian_DLA-4578.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 5/11/2026

Updated: 5/11/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2022-32224

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:ruby-rails, cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:ruby-railties, p-cpe:/a:debian:debian_linux:ruby-actionmailbox, p-cpe:/a:debian:debian_linux:ruby-actiontext, p-cpe:/a:debian:debian_linux:ruby-activerecord, p-cpe:/a:debian:debian_linux:ruby-activestorage, p-cpe:/a:debian:debian_linux:ruby-actioncable, p-cpe:/a:debian:debian_linux:ruby-activejob, p-cpe:/a:debian:debian_linux:ruby-actionpack, p-cpe:/a:debian:debian_linux:ruby-actionview, p-cpe:/a:debian:debian_linux:ruby-actionmailer, p-cpe:/a:debian:debian_linux:ruby-activesupport, p-cpe:/a:debian:debian_linux:ruby-activemodel, p-cpe:/a:debian:debian_linux:rails

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/11/2026

Vulnerability Publication Date: 7/12/2022

Reference Information

CVE: CVE-2022-32224