GitHub Advisoryadvisory · RubyGems

GHSA-5g4r-2qhx-vqfm Use of Uninitialized Variable in trilogy

MEDIUM Published 2022-06-06 Modified 2022-06-06 Official page ↗
Aliases
CVE-2022-31026
Ecosystem
RubyGems
Packages
trilogy
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-908
Reviewed
2022-06-06

Affected packages

• RubyGems trilogy: < 2.1.1 → fixed in 2.1.1

Description

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

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-908 Use of Uninitialized Resource weakness

References