CVSS v3.1 Equations
The CVSS v3.1 equations are defined below.
Base
The Base Score is a function of the Impact and Exploitability sub score equations. Where the Base score is defined as,
If (Impact sub score <= 0) 0 else,
Scope Unchanged4 π
ππ’πππ’π(ππππππ’π[(πΌπππππ‘ + πΈπ₯πππππ‘ππππππ‘π¦), 10])
Scope Changed π
ππ’πππ’π(ππππππ’π[1.08 Γ (πΌπππππ‘ + πΈπ₯πππππ‘ππππππ‘π¦), 10])
and the Impact sub score (ISC) is defined as,
Scope Unchanged 6.42 Γ πΌππΆBase
Scope Changed 7.52 Γ [πΌππΆπ΅ππ π β 0.029] β 3.25 Γ [πΌππΆπ΅ππ π β 0.02]15
Where,
πΌππΆπ΅ππ π = 1 β [(1 β πΌπππππ‘πΆπππ) Γ (1 β πΌπππππ‘πΌππ‘ππ) Γ (1 β πΌπππππ‘π΄π£πππ)]
And the Exploitability sub score is,
8.22 Γ π΄π‘π‘πππππππ‘ππ Γ π΄π‘π‘ππππΆππππππ₯ππ‘π¦ Γ ππππ£ππππππ
πππ’ππππ Γ ππ πππΌππ‘πππππ‘πππ
Temporal
The Temporal score is defined as,
π
ππ’πππ’π(π΅ππ ππππππ Γ πΈπ₯πππππ‘πΆππππππ‘π’πππ‘π¦ Γ π
πππππππ‘ππππΏππ£ππ Γ π
πππππ‘πΆπππππππππ)
Environmental
The environmental score is defined as,
If (Modified Impact Sub score <= 0) 0 else,
If Modified Scope is Unchanged Round up(Round up (Minimum [ (M.Impact + M.Exploitability) ,10]) Γ Exploit Code Maturity Γ Remediation Level Γ Report Confidence)
If Modified Scope is Changed Round up(Round up (Minimum [1.08 Γ (M.Impact + M.Exploitability) ,10]) Γ Exploit Code Maturity Γ Remediation Level Γ Report Confidence)
And the modified Impact sub score is defined as,
If Modified Scope is Unchanged 6.42 Γ [πΌππΆππππππππ]
If Modified Scope is Changed 7.52 Γ [πΌππΆππππππππ β 0.029]-3.25Γ [πΌππΆππππππππ Γ 0.9731 β 0.02] 13
Where,
πΌππΆππππππππ = ππππππ’π [[1 β (1 β π. πΌπΆπππ Γ πΆπ
) Γ (1 β π. πΌπΌππ‘ππ Γ πΌπ
) Γ (1 β π. πΌπ΄π£πππ Γ π΄π
)], 0.915]
The Modified Exploitability sub score is,
8.22 Γ π. π΄π‘π‘πππππππ‘ππ Γ π. π΄π‘π‘ππππΆππππππ₯ππ‘π¦ Γ π. ππππ£ππππππ
πππ’ππππ Γ π. ππ πππΌππ‘πππππ‘ππn
4 Where βRound upβ is defined as the smallest number, specified to one decimal place, that is equal to or higher than its input. For example, Round up (4.02) is 4.1; and Round up (4.00) is 4.0.