USN-6853-1

Type: Security
Severity: Medium
Published: 2024-06-26
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that Ruby incorrectly handled the ungetbyte and ungetc methods. A remote attacker could use this issue to cause Ruby to crash, resulting in a denial of service, or possibly obtain sensitive information. Update Instructions: Run `sudo pro fix USN-6853-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.7 ruby3.0 - 3.0.2-7ubuntu2.7 ruby3.0-doc - 3.0.2-7ubuntu2.7 libruby3.0 - 3.0.2-7ubuntu2.7 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T01:47:42.136Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T01:47:42.136Z UTC. Last updated 2025-11-26T08:25:11.038Z UTC.

Upstream Advisory

Affected Packages

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

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

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

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

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

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

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

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

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