VDB
CVE-2022-28738
CVE-2022-28738
PUBLISHED
Reported by mitre · Published May 9, 2022
A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2. If a victim attempts to create a Regexp from untrusted user input, an attacker may be able to write to unexpected memory locations.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ruby-min | Bitnami | 3.1.2, 3.0.4 |
| ruby | Alpine | 3.1.2-r0, 3.0.4-r0 |
| ruby | Arch Linux | 3.0.4-1 |
| ruby | Bitnami | 3.1.2, 3.0.4 |
| ruby | ruby-lang | 3.1.2, 3.0.4 |
| ruby-min | Bitnami | 3.1.2, 3.0.4 |
| ruby | Bitnami | 3.1.2, 3.0.4 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | ruby | 0, 0 |
| arch | ruby | 0 |
| n/a | n/a | * |
Timeline
- May 9, 2022 CVE Published
- May 10, 2022 EPSS Score (30 in total, the first dated here)
- May 28, 2022 PoC Published
- Mar 10, 2026 Security Advisory (16 in total, the first dated here)
- Jun 27, 2026 Coalition ESS Score
- Oct 12, 2026 Distribution Patch (12 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-28738
vulnetix vdb fixes CVE-2022-28738
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-28738/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-202401-27 vendor-advisory