7.5high
ReDoS based DoS vulnerability in GlobalID
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.08% (higher than 66% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- GHSA-23c2-gwp5-pxw9
Description
A ReDoS based DoS vulnerability in the GlobalID <1.0.1 which could allow an attacker supplying a carefully crafted input can cause the regular expression engine to take an unexpected amount of time. All users running an affected release should either upgrade or use one of the workarounds immediately.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| https://github.com/rails/globalid | 1.0.1 | CVE List |
| globalid (RubyGems) | from 0.2.1 before 1.0.1 | GitHub Advisory Database |
| rubyonrails globalid | from 0.2.1 before 1.0.1 | NVD |
All scores
| GitHub | low rating | |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
A ReDoS based DoS vulnerability in the GlobalID <1.0.1 which could allow an attacker supplying a carefully crafted input can cause the regular expression engine to take an unexpected amount of time. All users running an affected release should either upgrade or use one of the workarounds immediately.
GitHub Advisory Database
There is a ReDoS based DoS vulnerability in the GlobalID gem. This vulnerability has been assigned the CVE identifier CVE-2023-22799.
Versions Affected: >= 0.2.1 Not affected: NOTAFFECTED Fixed Versions: 1.0.1 Impact
There is a possible DoS vulnerability in the model name parsing section of the GlobalID gem. Carefully crafted input can cause the regular expression engine to take an unexpected amount of time. All users running an affected release should either upgrade or use one of the workarounds immediately. Releases
The FIXED releases are available at the normal locations. Workarounds
There are no feasible workarounds for this issue. Patches
To aid users who aren’t able to upgrade immediately we have provided patches for the two supported release series. They are in git-am format and consist of a single changeset.
1-0-model-name-redos.patch - Patch for 1.0 series
NVD (es)
Una vulnerabilidad DoS basada en ReDoS en GlobalID anterior a 1.0.1 que podría permitir a un atacante que proporcione una entrada cuidadosamente elaborada hacer que el motor de expresiones regulares tarde una cantidad de tiempo inesperada. Todos los usuarios que ejecuten una versión afectada deberían actualizar o usar una de las soluciones alternativas inmediatamente.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-22799 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-23c2-gwp5-pxw9 changed 2024-11-30 | CC-BY-4.0 |
| NVD | CVE-2023-22799 changed 2026-10-24 | Public domain |