Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
169 changes: 167 additions & 2 deletions mappings/cvss_v3/cvss_v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -835,8 +835,173 @@
]
},
{
"id": "broken_cryptography",
"cvss_v3": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
"id": "cryptographic_weakness",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"id": "cryptographic_weakness",
"id": "cryptographic_weakness",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"id": "cryptographic_weakness",
"id": "cryptographic_weakness",

"children": [
{
"id": "insufficient_entropy",
"children": [
{
"id": "limited_rng_entropy_source",
"cvss_v3": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
},
{
"id": "use_of_trng_for_nonsecurity_purpose",
"cvss_v3": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"
},
{
"id": "prng_seed_reuse",
"cvss_v3": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
},
{
"id": "predictable_prng_seed",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
},
{
"id": "small_seed_space_in_prng",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
},
{
"id": "initialization_vector_reuse",
"cvss_v3": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
},
{
"id": "predictable_initialization_vector",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
}
]
},
{
"id": "insecure_implementation",
"children": [
{
"id": "missing_cryptographic_step",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L"
},
{
"id": "improper_following_of_specification",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L"
}
]
},
{
"id": "weak_hash",
"children": [
{
"id": "lack_of_salt",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"
},
{
"id": "use_of_predictable_salt",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"
},
{
"id": "predictable_hash_collision",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"
}
]
},
{
"id": "insufficient_verification_of_data_authenticity",
"children": [
{
"id": "identity_check_value",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"
},
{
"id": "cryptographic_signature",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"
}
]
},
{
"id": "insecure_key_generation",
"children": [
{
"id": "improper_asymmetric_prime_selection",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
},
{
"id": "improper_asymmetric_exponent_selection",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
},
{
"id": "insufficient_key_stretching",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N"
},
{
"id": "insufficient_key_space",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
},
{
"id": "key_exchange_without_entity_authentication",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"
}
]
},
{
"id": "key_reuse",
"children": [
{
"id": "lack_of_perfect_forward_secrecy",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
},
{
"id": "intra-environment",
"cvss_v3": "CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"
},
{
"id": "inter-environment",
"cvss_v3": "CVSS:3.0/AV:A/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"
}
]
},
{
"id": "side-channel_attack",
"children": [
{
"id": "padding_oracle_attack",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
{
"id": "timing_attack",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
{
"id": "power_analysis_attack",
"cvss_v3": "CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
{
"id": "emanations_attack",
"cvss_v3": "CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
{
"id": "differential_fault_analysis",
"cvss_v3": "CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
}
]
},
{
"id": "use_of_expired_cryptographic_key_or_cert",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L"
},
{
"id": "incomplete_cleanup_of_keying_material",
"cvss_v3": "CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L"
}
]
},
{
"id": "broken_cryptography",
"children": [
{
"id": "use_of_broken_cryptographic_primitive",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
},
{
"id": "use_of_vulnerable_cryptographic_library",
"cvss_v3": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"
}
]
},
{
"id": "privacy_concerns",
Expand Down
178 changes: 176 additions & 2 deletions mappings/cwe/cwe.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,182 @@
]
},
{
"id": "broken_cryptography",
"cwe": ["CWE-310"]
"id": "cryptographic_weakness",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"id": "cryptographic_weakness",
"id": "cryptographic_weakness",

"cwe": ["CWE-310","CWE-1205"],
"children": [
{
"id": "insufficient_entropy",
"cwe": ["CWE-330","CWE-331"],
"children": [
{
"id": "limited_rng_entropy_source",
"cwe": ["CWE-338","CWE-332"]
},
{
"id": "use_of_trng_for_nonsecurity_purpose",
"cwe": ["CWE-333"]
},
{
"id": "prng_seed_reuse",
"cwe": ["CWE-336"]
},
{
"id": "predictable_prng_seed",
"cwe": ["CWE-337"]
},
{
"id": "small_seed_space_in_prng",
"cwe": ["CWE-339","CWE-334"]
},
{
"id": "initialization_vector_reuse",
"cwe": ["CWE-1204"]
},
{
"id": "predictable_initialization_vector",
"cwe": ["CWE-340"]
}
]
},
{
"id": "insecure_implementation",
"cwe": ["CWE-573"],
"children": [
{
"id": "missing_cryptographic_step",
"cwe": ["CWE-325"]
},
{
"id": "improper_following_of_specification",
"cwe": ["CWE-358","CWE-573"]
}
]
},
{
"id": "weak_hash",
"cwe": ["CWE-328"],
"children": [
{
"id": "lack_of_salt",
"cwe": ["CWE-759","CWE-916"]
},
{
"id": "use_of_predictable_salt",
"cwe": ["CWE-760"]
},
{
"id": "predictable_hash_collision",
"cwe": ["CWE-328"]
}
]
},
{
"id": "insufficient_verification_of_data_authenticity",
"cwe": ["CWE-345"],
"children": [
{
"id": "identity_check_value",
"cwe": ["CWE-353","CWE-354","CWE-924"]
},
{
"id": "cryptographic_signature",
"cwe": ["CWE-347"]
}
]
},
{
"id": "insecure_key_generation",
"cwe": null,
"children": [
{
"id": "improper_asymmetric_prime_selection",
"cwe": ["CWE-326","CWE-1240"]
},
{
"id": "improper_asymmetric_exponent_selection",
"cwe": ["CWE-326","CWE-1240"]
},
{
"id": "insufficient_key_stretching",
"cwe": ["CWE-326","CWE-1240"]
},
{
"id": "insufficient_key_space",
"cwe": ["CWE-326","CWE-331","CWE-1240"]
},
{
"id": "key_exchange_without_entity_authentication",
"cwe": ["CWE-322"]
}
]
},
{
"id": "key_reuse",
"cwe": ["CWE-323"],
"children": [
{
"id": "lack_of_perfect_forward_secrecy",
"cwe": ["CWE-323"]
},
{
"id": "intra-environment",
"cwe": ["CWE-323"]
},
{
"id": "inter-environment",
"cwe": ["CWE-323"]
}
]
},
{
"id": "side-channel_attack",
"cwe": ["CWE-203","CWE-1300"],
"children": [
{
"id": "padding_oracle_attack",
"cwe": ["CWE-780"]
},
{
"id": "timing_attack",
"cwe": ["CWE-208"]
},
{
"id": "power_analysis_attack",
"cwe": ["CWE-1300"]
},
{
"id": "emanations_attack",
"cwe": ["CWE-1300"]
},
{
"id": "differential_fault_analysis",
"cwe": ["CWE-204","CWE-205"]
}
]
},
{
"id": "use_of_expired_cryptographic_key_or_cert",
"cwe": ["CWE-295","CWE-298","CWE-299","CWE-324"]
},
{
"id": "incomplete_cleanup_of_keying_material",
"cwe": ["CWE-459"]
}
]
},
{
"id": "broken_cryptography",
"cwe": ["CWE-327"],
"children": [
{
"id": "use_of_broken_cryptographic_primitive",
"cwe": ["CWE-327"]
},
{
"id": "use_of_vulnerable_cryptographic_library",
"cwe": ["CWE-327"]
}
]
},
{
"id": "privacy_concerns",
Expand Down
Loading