Advisory

USN-6853-1

Also known as: CVE-2024-27280

Summary

ruby2.7, ruby3.0, ruby3.1 vulnerability

Details

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.

Severity

Not rated by the source.

Dates

Published
2024-06-26 12:27 UTC
Modified
2026-04-27 17:17 UTC

Affected packages and fixes

ruby2.7

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.7.0-5ubuntu1.14 (ecosystem)

Fixed versions

2.7.0-5ubuntu1.14

Fix

  • Fixed version 2.7.0-5ubuntu1.14
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ruby3.0

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.0.2-7ubuntu2.7 (ecosystem)

Fixed versions

3.0.2-7ubuntu2.7

Fix

  • Fixed version 3.0.2-7ubuntu2.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences