Vulnerability

CVE-2022-31124

mediumCVSS 3.1 6.5Published 6 Jul 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

openssh_key_parser is an open source Python package providing utilities to parse and pack OpenSSH private and public key files. In versions prior to 0.0.6 if a field of a key is shorter than it is declared to be, the parser raises an error with a message containing the raw field value. An attacker able to modify the declared length of a key's sensitive field can thus expose the raw value of that field. Users are advised to upgrade to version 0.0.6, which no longer includes the raw field value in the error message. There are no known workarounds for this issue.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Openssh Key Parser Project openssh key parser

Weakness type

References

  • github.com /scottcwang/openssh_key_parser/commit/26e0a471e9fdb23e635bc…
  • github.com /scottcwang/openssh_key_parser/commit/274447f91b4037b7050ae…
  • github.com /scottcwang/openssh_key_parser/commit/d5b53b4b7e76c5b666fc6…
  • github.com /scottcwang/openssh_key_parser/pull/5
  • github.com /scottcwang/openssh_key_parser/security/advisories/GHSA-hm3…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning