GHSA-hm37-9xh2-q499

Suggest an improvement
Source
https://github.com/advisories/GHSA-hm37-9xh2-q499
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-hm37-9xh2-q499/GHSA-hm37-9xh2-q499.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hm37-9xh2-q499
Aliases
Published
2022-07-06T19:24:12Z
Modified
2024-02-21T05:20:56.015098Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
Possible leak of key's raw field if declared length is incorrect
Details

Impact

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.

Patches

Upgrade to version 0.0.6, which no longer includes the raw field value in the error message.

Workarounds

N/A

References

N/A

For more information

If you have any questions or comments about this advisory: * Open an issue in opensshkeyparser

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