Loading...
Skip to main content

CVE-2022-31026 — Use of Uninitialized Variable in trilogy — CVE...

MEDIUM

Use of Uninitialized Variable in trilogy

Published June 6, 2022Updated November 8, 2023Source: osv

Summary

### 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](https://github.com/github/trilogy)

Advisory Timeline

  • First published June 6, 2022 (1589 days ago).
  • Last revised November 8, 2023 — 519 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update trilogy to 2.1.1 or later
gem install trilogy -v 2.1.1

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
trilogy
rubygems
2.0.0, 2.1.02.1.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

What is CVE-2022-31026?
Use of Uninitialized Variable in trilogy This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.9/10).
How do I check if my project is affected by CVE-2022-31026?
CVE-2022-31026 affects trilogy. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-31026 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
5.9

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-5g4r-2qhx-vqfm

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies