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.test.osv.dev/v1/vulns/GHSA-hm37-9xh2-q499
Aliases
Related
Published
2022-07-06T19:24:12Z
Modified
2024-10-07T21:23:02.191412Z
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
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA: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

Database specific
{
    "nvd_published_at": "2022-07-06T18:15:00Z",
    "cwe_ids": [
        "CWE-209"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-07-06T19:24:12Z"
}
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