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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
//! 7.4. Metric Values
//!
//! Each metric value has an associated constant which is used in the formulas, as defined in Table 16.
//!
//! **Table 16: Metric values**
//!
//!
//! | Metric | Metric Value | Numerical Value |
//! | --- | --- | --- |
//! | Attack Vector / Modified Attack Vector | Network | 0.85 |
//! | | Adjacent | 0.62 |
//! | | Local | 0.55 |
//! | | Physical | 0.2 |
//! | Attack Complexity / Modified Attack Complexity | Low | 0.77 |
//! | | High | 0.44 |
//! | Privileges Required / Modified Privileges Required | None | 0.85 |
//! | | Low | 0.62 (or 0.68 if Scope / Modified Scope is Changed) |
//! | | High | 0.27 (or 0.5 if Scope / Modified Scope is Changed) |
//! | User Interaction / Modified User Interaction | None | 0.85 |
//! | | Required | 0.62 |
//! | Confidentiality / Integrity / Availability / Modified Confidentiality / Modified Integrity / Modified Availability | High | 0.56 |
//! | | Low | 0.22 |
//! | | None | 0 |
//! | Exploit Code Maturity | Not Defined | 1 |
//! | | High | 1 |
//! | | Functional | 0.97 |
//! | | Proof of Concept | 0.94 |
//! | | Unproven | 0.91 |
//! | Remediation Level | Not Defined | 1 |
//! | | Unavailable | 1 |
//! | | Workaround | 0.97 |
//! | | Temporary Fix | 0.96 |
//! | | Official Fix | 0.95 |
//! | Report Confidence | Not Defined | 1 |
//! | | Confirmed | 1 |
//! | | Reasonable | 0.96 |
//! | | Unknown | 0.92 |
//! | Confidentiality Requirement / Integrity Requirement / Availability Requirement | Not Defined | 1 |
//! | | High | 1.5 |
//! | | Medium | 1 |
//! | | Low | 0.5 |[](#body)
//!
pub use crateMetricTypeV2;
pub use crateMetricTypeV3;
pub use crateMetricTypeV4;
use ;
use ;
use FromStr;
// TODO: 改宏定义