CVE-2022-31124
Summary
| CVE | CVE-2022-31124 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-07-06 18:15:00 UTC |
| Updated | 2022-07-14 14:22:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-209
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Openssh Key Parser Project | Openssh Key Parser | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Security review by mike-arnica · Pull Request #5 · scottcwang/openssh_key_parser · GitHub | MISC | github.com | |
| Improved error handling to prevent unhandled exceptions in calling code. · scottcwang/openssh_key_parser@d5b53b4 · GitHub | MISC | github.com | |
| Changed an exception message to prevent possible disclosures of keyin… · scottcwang/openssh_key_parser@26e0a47 · GitHub | MISC | github.com | |
| Merge pull request #5 from mike-arnica/security-review · scottcwang/openssh_key_parser@274447f · GitHub | MISC | github.com | |
| Possible leak of key's raw field if declared length is incorrect · Advisory · scottcwang/openssh_key_parser · GitHub | CONFIRM | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.