USN-6838-1

Type: Security
Severity: Medium
Published: 2024-06-17
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 24.04 LTS (Noble Numbat)

It was discovered that Ruby RDoc incorrectly parsed certain YAML files. If a user or automated system were tricked into parsing a specially crafted .rdoc_options file, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2024-27281) It was discovered that the Ruby regex compiler incorrectly handled certain memory operations. A remote attacker could possibly use this issue to obtain sensitive memory contents. (CVE-2024-27282) Update Instructions: Run `sudo pro fix USN-6838-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: ruby3.0-dev - 3.0.2-7ubuntu2.6 ruby3.0 - 3.0.2-7ubuntu2.6 ruby3.0-doc - 3.0.2-7ubuntu2.6 libruby3.0 - 3.0.2-7ubuntu2.6 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T03:50:42.912Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T03:50:42.912Z UTC. Last updated 2025-11-26T08:24:40.222Z UTC.

Upstream Advisory

Affected Packages

  • ruby3.0-dev 3.0.2-7ubuntu2.6-3.0.2-7ubuntu2.6

  • ruby3.0 3.0.2-7ubuntu2.6-3.0.2-7ubuntu2.6

  • ruby3.0-doc 3.0.2-7ubuntu2.6-3.0.2-7ubuntu2.6

  • libruby3.0 3.0.2-7ubuntu2.6-3.0.2-7ubuntu2.6

  • ruby2.7 2.7.0-5ubuntu1.13-2.7.0-5ubuntu1.13

  • ruby2.7-doc 2.7.0-5ubuntu1.13-2.7.0-5ubuntu1.13

  • ruby2.7-dev 2.7.0-5ubuntu1.13-2.7.0-5ubuntu1.13

  • libruby2.7 2.7.0-5ubuntu1.13-2.7.0-5ubuntu1.13

  • ruby3.2 3.2.3-1ubuntu0.24.04.1-3.2.3-1ubuntu0.24.04.1

  • ruby3.2-doc 3.2.3-1ubuntu0.24.04.1-3.2.3-1ubuntu0.24.04.1

  • ruby3.2-dev 3.2.3-1ubuntu0.24.04.1-3.2.3-1ubuntu0.24.04.1

  • libruby3.2 3.2.3-1ubuntu0.24.04.1-3.2.3-1ubuntu0.24.04.1

Interested in being alerted when there are new versions of ruby3.0-dev and the other packages? Set up an alert.
USN-6838-1: Ruby vulnerabilities | Package Alert