/
GHSA-hm37-9xh2-q499.json
81 lines (81 loc) · 2.56 KB
/
GHSA-hm37-9xh2-q499.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"schema_version": "1.4.0",
"id": "GHSA-hm37-9xh2-q499",
"modified": "2022-07-06T19:24:12Z",
"published": "2022-07-06T19:24:12Z",
"aliases": [
"CVE-2022-31124"
],
"summary": "Possible leak of key's raw field if declared length is incorrect",
"details": "### Impact\nIf 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.\n\n### Patches\nUpgrade to version 0.0.6, which no longer includes the raw field value in the error message.\n\n### Workarounds\nN/A\n\n### References\nN/A\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [openssh_key_parser](https://github.com/scottcwang/openssh_key_parser)\n",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
}
],
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "openssh-key-parser"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.0.6"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/scottcwang/openssh_key_parser/security/advisories/GHSA-hm37-9xh2-q499"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31124"
},
{
"type": "WEB",
"url": "https://github.com/scottcwang/openssh_key_parser/pull/5"
},
{
"type": "WEB",
"url": "https://github.com/scottcwang/openssh_key_parser/commit/26e0a471e9fdb23e635bc3014cf4cbd2323a08d3"
},
{
"type": "WEB",
"url": "https://github.com/scottcwang/openssh_key_parser/commit/274447f91b4037b7050ae634879b657554523b39"
},
{
"type": "WEB",
"url": "https://github.com/scottcwang/openssh_key_parser/commit/d5b53b4b7e76c5b666fc657019dbf864fb04076c"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/openssh-key-parser/PYSEC-2022-233.yaml"
},
{
"type": "WEB",
"url": "https://github.com/scottcwang/openssh_key_parser"
}
],
"database_specific": {
"cwe_ids": [
"CWE-209"
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2022-07-06T19:24:12Z",
"nvd_published_at": "2022-07-06T18:15:00Z"
}
}