PYSEC-2022-233

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/openssh-key-parser/PYSEC-2022-233.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2022-233
Aliases
Published
2022-07-06T18:15:00Z
Modified
2023-11-08T04:09:26.994947Z
Summary
[none]
Details

opensshkeyparser 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.

References

Affected packages

PyPI / openssh-key-parser

Package

Name
openssh-key-parser
View open source insights on deps.dev
Purl
pkg:pypi/openssh-key-parser

Affected ranges

Type
GIT
Repo
https://github.com/scottcwang/openssh_key_parser
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.6

Affected versions

0.*

0.0.1
0.0.2
0.0.3
0.0.4
0.0.5