Double Free Affecting rubygem-psych package, versions <0:3.3.2-141.module+el8.6.0+16311+3e5e17e9
Threat Intelligence
EPSS
0.32% (71st
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS8-RUBYGEMPSYCH-2765604
- published 15 Apr 2022
- disclosed 14 Apr 2022
Introduced: 14 Apr 2022
CVE-2022-28738 Open this link in a new tabHow to fix?
Upgrade Centos:8 rubygem-psych to version 0:3.3.2-141.module+el8.6.0+16311+3e5e17e9 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream rubygem-psych package and not the rubygem-psych package as distributed by Centos.
See How to fix? for Centos:8 relevant fixed versions and status.
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.
References
- https://access.redhat.com/security/cve/CVE-2022-28738
- https://access.redhat.com/errata/RHSA-2022:6450
- https://security-tracker.debian.org/tracker/CVE-2022-28738
- https://www.ruby-lang.org/en/news/2022/04/12/double-free-in-regexp-compilation-cve-2022-28738/
- https://hackerone.com/reports/1220911
- https://security.netapp.com/advisory/ntap-20220624-0002/
- https://security.gentoo.org/glsa/202401-27
CVSS Scores
version 3.1