PYSEC-2022-233
Vulnerability from pysec - Published: 2022-07-06 18:15 - Updated: 2023-05-25 05:07
VLAI?
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.
Impacted products
| Name | purl | openssh-key-parser | pkg:pypi/openssh-key-parser |
|---|
Aliases
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "openssh-key-parser",
"purl": "pkg:pypi/openssh-key-parser"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "d5b53b4b7e76c5b666fc657019dbf864fb04076c"
},
{
"fixed": "26e0a471e9fdb23e635bc3014cf4cbd2323a08d3"
},
{
"fixed": "274447f91b4037b7050ae634879b657554523b39"
}
],
"repo": "https://github.com/scottcwang/openssh_key_parser",
"type": "GIT"
},
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.6"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0.1",
"0.0.2",
"0.0.3",
"0.0.4",
"0.0.5"
]
}
],
"aliases": [
"CVE-2022-31124",
"GHSA-hm37-9xh2-q499"
],
"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\u0027s 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.",
"id": "PYSEC-2022-233",
"modified": "2023-05-25T05:07:00Z",
"published": "2022-07-06T18:15:00Z",
"references": [
{
"type": "FIX",
"url": "https://github.com/scottcwang/openssh_key_parser/commit/d5b53b4b7e76c5b666fc657019dbf864fb04076c"
},
{
"type": "ADVISORY",
"url": "https://github.com/scottcwang/openssh_key_parser/security/advisories/GHSA-hm37-9xh2-q499"
},
{
"type": "WEB",
"url": "https://github.com/scottcwang/openssh_key_parser/pull/5"
},
{
"type": "FIX",
"url": "https://github.com/scottcwang/openssh_key_parser/commit/26e0a471e9fdb23e635bc3014cf4cbd2323a08d3"
},
{
"type": "FIX",
"url": "https://github.com/scottcwang/openssh_key_parser/commit/274447f91b4037b7050ae634879b657554523b39"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…