Medium, CVSS 5.9RubyGemsPublished
Use of Uninitialized Variable in trilogy
CVE-2022-31026 · GHSA-5g4r-2qhx-vqfm
- Affected
- RubyGems trilogy < 2.1.1
- Fixed in
- 2.1.1· Vendor fix available
- Issue
- Impact When authenticating, a malicious server could return a specially crafted authentication packet, causing the client to read and return up to 12 bytes of data from an uninitialized variable in stack memory. Patches Users of the trilogy gem should upgrade to version 2.1.1 Workarounds This issue can be avoided by only connecting to trusted servers. Acknowledgements We would like to thank Sergei Volokitin for reporting this vulnerability For more information If you have any questions or comments about this advisory: Open an issue in trilogy
Recommended action: Upgrade to 2.1.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.