CVSS 3.1
5.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NMedium (5.3) in ruby-lang uri. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in uri 0.11.3, 0.12.4, 0.13.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:Nuri (RubyGems): fixed in 0.11.3, 0.12.4, 0.13.2, 1.0.3Explain CVE-2025-27221 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-27221?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-27221?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-27221 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| ruby-lang URI | before 0.11.3 |
| ruby-lang URI | from 0.12.0 before 0.12.4 |
| ruby-lang URI | from 0.13.0 before 0.13.2 |
| ruby-lang URI | from 1.0.0 before 1.0.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-22h5-pq3x-2gf2 | RubyGems | uri | <0.11.3 | 0.11.3 |
| GHSA-22h5-pq3x-2gf2 | RubyGems | uri | >=0.12.0 <0.12.4 | 0.12.4 |
| GHSA-22h5-pq3x-2gf2 | RubyGems | uri | >=0.13.0 <0.13.2 | 0.13.2 |
| GHSA-22h5-pq3x-2gf2 | RubyGems | uri | >=1.0.0 <1.0.3 | 1.0.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | ruby2.7 | 2.7.4-1+deb11u5 | DLA-4082-1 |
| Debian | 11 | rubygems | 3.2.5-2+deb11u1 | DLA-4163-1 |
| Debian | 12 | ruby3.1 | 3.1.7-1~deb12u2 | DEBIAN-CVE-2025-27221 |
| Debian | 12 | rubygems | 3.3.15-2+deb12u1 | DEBIAN-CVE-2025-27221 |
| Debian | 13, 14 | ruby3.3 | 3.3.7-2 | DEBIAN-CVE-2025-27221 |
| Debian | 13, 14 | rubygems | 3.6.6-1 | DEBIAN-CVE-2025-27221 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 5 more | jruby | no fix listed | UBUNTU-CVE-2025-27221 |
| Ubuntu | 20.04:LTS | ruby2.7 | 2.7.0-5ubuntu1.18 | UBUNTU-CVE-2025-27221 USN-7418-1 |
| Ubuntu | 22.04:LTS | ruby3.0 | 3.0.2-7ubuntu2.10 | UBUNTU-CVE-2025-27221 USN-7418-1 |
| Ubuntu | 24.04:LTS | ruby3.2 | 3.2.3-1ubuntu0.24.04.5 | UBUNTU-CVE-2025-27221 USN-7418-1 |
| Ubuntu | 25.10 | ruby3.3 | 3.3.7-1ubuntu2 | UBUNTU-CVE-2025-27221 |
| Ubuntu | Pro:16.04:LTS | ruby2.3 | 2.3.1-2~ubuntu16.04.16+esm10 | UBUNTU-CVE-2025-27221 USN-7442-1 |
| Ubuntu | Pro:18.04:LTS | ruby2.5 | 2.5.1-1ubuntu1.16+esm4 | UBUNTU-CVE-2025-27221 USN-7442-1 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 7 more | 0:3.1.7-145.module+el8.10.0+23011+f9d508f8 | RHSA-2025:4063 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 7 more | 0:3.3.8-4.module+el8.10.0+23024+a87ba659 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.10.0+21226+b78a28c4 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.10.0+21470+43ec8058 | RHSA-2025:4063 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.1.1-145.module+el8.10.0+23011+f9d508f8 | RHSA-2025:4063 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.1.5-4.module+el8.10.0+23024+a87ba659 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bundler | 0:2.3.27-145.module+el8.10.0+23011+f9d508f8 | RHSA-2025:4063 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bundler | 0:2.5.22-4.module+el8.10.0+23024+a87ba659 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-io-console, rubygem-io-console-debuginfo | 0:0.5.11-145.module+el8.10.0+23011+f9d508f8 | RHSA-2025:4063 |
| Red Hat | enterprise_linux:8::appstream | rubygem-io-console, rubygem-io-console-debuginfo | 0:0.7.1-4.module+el8.10.0+23024+a87ba659 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-irb | 0:1.13.1-4.module+el8.10.0+23024+a87ba659 | RHSA-2025:10217 |
| Red Hat | enterprise_linux:8::appstream | rubygem-irb | 0:1.4.1-145.module+el8.10.0+23011+f9d508f8 | RHSA-2025:4063 |
| 86 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 more | ruby2.5 | 2.5.9-150000.4.46.1 | SUSE-SU-2025:02739-2 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6 | ruby2.5 | 2.5.9-150000.4.46.1 | SUSE-SU-2025:02739-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP7 | ruby2.5 | 2.5.9-150700.24.3.1 | SUSE-SU-2025:4264-1 |
| openSUSE | Leap 15.6 | ruby2.5 | 2.5.9-150000.4.46.1 | SUSE-SU-2025:02739-1 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 3 more | 3.1.7-145.module_el8.10.0+3984+cf55e3df | ALSA-2025:4063 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 3 more | 3.3.8-4.module_el8.10.0+4022+8b66723c | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-abrt | 0.4.0-1.module_el8.9.0+3746+91b8233a | ALSA-2025:4063 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.10.0+3799+191214cc | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-abrt-doc | 0.4.0-1.module_el8.10.0+3854+02eaa59a | ALSA-2025:4063 |
| AlmaLinux | 8 | rubygem-bigdecimal | 3.1.1-145.module_el8.10.0+3984+cf55e3df | ALSA-2025:4063 |
| AlmaLinux | 8 | rubygem-bigdecimal | 3.1.5-4.module_el8.10.0+4022+8b66723c | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-bundler | 2.3.27-145.module_el8.10.0+3984+cf55e3df | ALSA-2025:4063 |
| AlmaLinux | 8 | rubygem-bundler | 2.5.22-4.module_el8.10.0+4022+8b66723c | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-io-console | 0.5.11-145.module_el8.10.0+3984+cf55e3df | ALSA-2025:4063 |
| AlmaLinux | 8 | rubygem-io-console | 0.7.1-4.module_el8.10.0+4022+8b66723c | ALSA-2025:10217 |
| AlmaLinux | 8 | rubygem-irb | 1.13.1-4.module_el8.10.0+4022+8b66723c | ALSA-2025:10217 |
| 46 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | ruby | 0:3.1.7-145.module+el8.10.0+1957+16e0d1a2 | RLSA-2025:4063 |
| Rocky Linux | 8 | ruby | 0:3.3.8-4.module+el8.10.0+2004+fd6e8d72 | RLSA-2025:10217 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1679+61871737 | RLSA-2025:10217 RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1741+bdb5b6ca | RLSA-2025:10217 RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1820+f3fffb92 | RLSA-2025:10217 RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1826+b62220b4 | RLSA-2025:10217 RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1827+16ecb9d2 | RLSA-2025:10217 RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.5.0+668+665814fa | RLSA-2025:10217 RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.9.0+1537+0b2034bd | RLSA-2025:10217 RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.3-3.module+el8.10.0+1744+6c504228 | RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.3-3.module+el8.10.0+1826+b62220b4 | RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.5-1.module+el8.10.0+1679+61871737 | RLSA-2025:10217 |
| 12 more for Rocky Linux in the JSON. | ||||
| Azure Linux | 2 | ruby | 3.1.4-9 | AZL-57778 |
| Azure Linux | 3 | ruby | 3.3.5-3 | AZL-57893 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Low.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | ruby-0:3.3.8-10.el10_0 | Fixed 2025-05-26 | RHSA-2025:8131 |
| Red Hat Enterprise Linux 8 | ruby:3.3-8100020250414172630.489197e6 | Fixed 2025-07-02 | RHSA-2025:10217 |
| Red Hat Enterprise Linux 8 | ruby:3.1-8100020250407112943.489197e6 | Fixed 2025-04-23 | RHSA-2025:4063 |
| Red Hat Enterprise Linux 9 | ruby:3.1-9050020250404144903.9 | Fixed 2025-05-06 | RHSA-2025:4488 |
| Red Hat Enterprise Linux 9 | ruby:3.3-9050020250415095239.9 | Fixed 2025-05-06 | RHSA-2025:4493 |
| Red Hat Enterprise Linux 9 | ruby-30 | Fix deferred | |
| Red Hat Enterprise Linux 9 | ruby-31 | Fix deferred | |
| Red Hat Enterprise Linux 9 | ruby-33 | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-27221.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.