CVE-2023-28755: Input Validation

Published Mar 21, 2023
·
Updated

A flaw was found in the rubygem URI. The URI parser mishandles invalid URLs that have specific characters, which causes an increase in execution time parsing strings to URI objects. This may result in a regular expression denial of service (ReDoS).

Other sources

A ReDoS issue was discovered in the URI component through 0.12.0 in Ruby through 3.2.1. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects. The fixed versions are 0.12.1, 0.11.1, 0.10.2 and 0.10.0.1.

A ReDoS issue was discovered in the URI component. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects.

The uri gem version 0.12.0, 0.11.0, 0.10.1, 0.10.0 and all versions prior 0.10.0 are vulnerable for this vulnerability.

— Red Hat

Affected Software

25 affected componentsFixes available
redhat/rh-ruby27-ruby<0:2.7.8-132.el7
0:2.7.8-132.el7
rubygems/uri<0.10.0.1
0.10.0.1
rubygems/uri=0.10.1
0.10.2
rubygems/uri=0.11.0
0.11.1
rubygems/uri=0.12.0
0.12.1
ruby-lang Uri Ruby<=0.10.0
ruby-lang Uri Ruby=0.10.1
ruby-lang Uri Ruby=0.11.0
ruby-lang Uri Ruby=0.12.0
Debian Debian Linux=10.0
Fedoraproject Fedora=36
Fedoraproject Fedora=37
Fedoraproject Fedora=38
debian/jruby*
debian/jruby<9.4.5.0+ds-1
9.4.5.0+ds-1
debian/jruby<9.4.5.0+ds-1
9.4.5.0+ds-1
debian/ruby3.1*
debian/rubygems<3.3.15-2+deb12u1
3.3.15-2+deb12u1
debian/rubygems<3.4.20-1
3.4.20-1
debian/rubygems<3.4.20-1
3.4.20-1
debian/jruby<=9.3.9.0+ds-8
9.4.3.0+ds-1~exp19.1.17.0-3+deb10u19.4.5.0+ds-1
debian/ruby3.1<=3.1.2-7+deb12u1, <=3.1.7+really3.1.2-0+deb12u1
debian/rubygems
3.2.5-2+deb11u13.3.15-2+deb12u13.4.20-1
debian/ruby2.5
2.5.5-3+deb10u5
debian/ruby2.7
2.7.4-1+deb11u2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/rh-ruby27-ruby to a version that resolves this vulnerability.

    Fixed in 0:2.7.8-132.el7
  2. Upgrade

    Upgrade rubygems/uri to a version that resolves this vulnerability.

    Fixed in 0.10.0.1
  3. Upgrade

    Upgrade rubygems/uri to a version that resolves this vulnerability.

    Fixed in 0.10.2
  4. Upgrade

    Upgrade rubygems/uri to a version that resolves this vulnerability.

    Fixed in 0.11.1
  5. Upgrade

    Upgrade rubygems/uri to a version that resolves this vulnerability.

    Fixed in 0.12.1
  6. Upgrade

    Upgrade debian/jruby to a version that resolves this vulnerability.

    Fixed in 9.4.5.0+ds-1
  7. Upgrade

    Upgrade debian/rubygems to a version that resolves this vulnerability.

    Fixed in 3.3.15-2+deb12u1
  8. Upgrade

    Upgrade debian/rubygems to a version that resolves this vulnerability.

    Fixed in 3.4.20-1
  9. Upgrade

    Upgrade debian/jruby to a version that resolves this vulnerability.

    Fixed in 9.4.3.0+ds-1~exp1Fixed in 9.1.17.0-3+deb10u1Fixed in 9.4.5.0+ds-1
  10. Upgrade

    Upgrade debian/rubygems to a version that resolves this vulnerability.

    Fixed in 3.2.5-2+deb11u1Fixed in 3.3.15-2+deb12u1Fixed in 3.4.20-1
  11. Upgrade

    Upgrade debian/ruby2.5 to a version that resolves this vulnerability.

    Fixed in 2.5.5-3+deb10u5
  12. Upgrade

    Upgrade debian/ruby2.7 to a version that resolves this vulnerability.

    Fixed in 2.7.4-1+deb11u2
  13. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.12.1
  14. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.11.1
  15. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.10.2
  16. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.10.0.1

Event History

Mar 21, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 31, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
Description
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Data Sourced
via OSV·04:15 AM
DescriptionSeverityAffected Software
Advisory Published
06:30 AM
Nov 7, 2023
Data Sourced
via NVD·04:10 AM
DescriptionSeverityWeaknessAffected Software
Updated
04:10 AM
Affected Software
Nov 14, 2023
Data Sourced
via Red Hat·03:18 PM
DescriptionSeverityAffected Software
Jan 24, 2024
Updated
via NVD·05:15 AM
Affected Software
Advisory Published
via GitHub·07:18 PM
Data Sourced
via GitHub·07:18 PM
DescriptionSeverityWeaknessAffected Software
May 4, 2024
Updated
via NVD·02:15 AM
Affected Software
Updated
via NVD·03:15 AM
Affected Software
Nov 21, 2024
Updated
via NVD·07:55 AM
Affected Software
Feb 14, 2025
Updated
via NVD·08:15 PM
SeverityWeaknessAffected Software
Nov 3, 2025
Updated
via NVD·08:16 PM
Affected Software
Jun 17, 2026
Updated
via NVD·05:48 AM
Affected Software
Nov 22, 2026
Updated
via OSV·10:00 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203