VDB
Sign up
—

PYSEC-2022-233

Quick fix

PYSEC-2022-233 — openssh-key-parser: upgrade to the fixed version with the command below.

pip install --upgrade 'openssh-key-parser>=d5b53b4b7e76c5b666fc657019dbf864fb04076c'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/openssh-key-parser
Introduced in: 0Fixed in: d5b53b4b7e76c5b666fc657019dbf864fb04076c
Fixpip install --upgrade 'openssh-key-parser>=d5b53b4b7e76c5b666fc657019dbf864fb04076c'

References