Advisory

GHSA-5g4r-2qhx-vqfm

Also known as: CVE-2022-31026

Summary

Use of Uninitialized Variable in trilogy

Details

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:

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-06-06 21:22 UTC
Modified
2023-11-08 04:09 UTC

Affected packages and fixes

trilogy

RubyGems · All systems

Affected

  • introduced 0, fixed 2.1.1 (ecosystem)

Fixed versions

2.1.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences