GHSA-5g4r-2qhx-vqfm

Suggest an improvement
Source
https://github.com/advisories/GHSA-5g4r-2qhx-vqfm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-5g4r-2qhx-vqfm/GHSA-5g4r-2qhx-vqfm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5g4r-2qhx-vqfm
Aliases
Published
2022-06-06T21:22:05Z
Modified
2023-11-08T04:09:23.087201Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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: * Open an issue in trilogy

Database specific
{
    "nvd_published_at": "2022-06-09T13:15:00Z",
    "github_reviewed_at": "2022-06-06T21:22:05Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-908"
    ]
}
References

Affected packages

RubyGems / trilogy

Package

Name
trilogy
Purl
pkg:gem/trilogy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.1

Affected versions

2.*

2.0.0
2.1.0