Skip to content

Commit 8c2adb5

Browse files
1 parent e8c6071 commit 8c2adb5

1 file changed

Lines changed: 62 additions & 0 deletions

File tree

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-9c48-w39g-hm26",
4+
"modified": "2026-01-06T18:14:08Z",
5+
"published": "2026-01-06T18:14:08Z",
6+
"aliases": [],
7+
"summary": "rsa crate has potential panic on a prime being equal to 1",
8+
"details": "When creating a RSA private key from its components, the construction panics, instead of returning an error, when one of the primes is `1`. \n\nDiscovered by Christian Reitter from [Radically Open Security](https://www.radicallyopensecurity.com/) during a security review for [Proton AG](https://proton.me/).",
9+
"severity": [
10+
{
11+
"type": "CVSS_V4",
12+
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"
13+
}
14+
],
15+
"affected": [
16+
{
17+
"package": {
18+
"ecosystem": "crates.io",
19+
"name": "rsa"
20+
},
21+
"ranges": [
22+
{
23+
"type": "ECOSYSTEM",
24+
"events": [
25+
{
26+
"introduced": "0"
27+
},
28+
{
29+
"fixed": "0.9.10"
30+
}
31+
]
32+
}
33+
],
34+
"database_specific": {
35+
"last_known_affected_version_range": "<= 0.9.9"
36+
}
37+
}
38+
],
39+
"references": [
40+
{
41+
"type": "WEB",
42+
"url": "https://github.com/RustCrypto/RSA/security/advisories/GHSA-9c48-w39g-hm26"
43+
},
44+
{
45+
"type": "WEB",
46+
"url": "https://github.com/RustCrypto/RSA/commit/2926c91bef7cb14a7ccd42220a698cf4b1b692f7"
47+
},
48+
{
49+
"type": "PACKAGE",
50+
"url": "https://github.com/RustCrypto/RSA"
51+
}
52+
],
53+
"database_specific": {
54+
"cwe_ids": [
55+
"CWE-703"
56+
],
57+
"severity": "LOW",
58+
"github_reviewed": true,
59+
"github_reviewed_at": "2026-01-06T18:14:08Z",
60+
"nvd_published_at": null
61+
}
62+
}

0 commit comments

Comments
 (0)