|
44 | 44 | </span> |
45 | 45 | </a> |
46 | 46 | </li> |
47 | | - <li data-tab="severities-vectors"> |
48 | | - <a> |
49 | | - <span> |
50 | | - Severity details ({{ severity_vectors|length }}) |
51 | | - </span> |
52 | | - </a> |
53 | | - </li> |
54 | 47 |
|
55 | 48 | {% if advisory.exploits %} |
56 | 49 | <li data-tab="exploits"> |
|
70 | 63 | </a> |
71 | 64 | </li> |
72 | 65 |
|
| 66 | + {% if ssvcs %} |
| 67 | + <li data-tab="ssvcs"> |
| 68 | + <a> |
| 69 | + <span> |
| 70 | + Related SSVCS ({{ ssvcs|length }}) |
| 71 | + </span> |
| 72 | + </a> |
| 73 | + </li> |
| 74 | + {% endif %} |
| 75 | + |
73 | 76 | <!-- <li data-tab="history"> |
74 | 77 | <a> |
75 | 78 | <span> |
|
402 | 405 | </tr> |
403 | 406 | {% endfor %} |
404 | 407 | </div> |
405 | | - |
406 | | - <div class="tab-div content" data-content="severities-vectors"> |
407 | | - {% for severity_vector in severity_vectors %} |
408 | | - {% if severity_vector.vector.version == '2.0' %} |
409 | | - Vector: {{ severity_vector.vector.vectorString }} Found at <a href="{{ severity_vector.origin }}" target="_blank">{{ severity_vector.origin }}</a> |
410 | | - <table class="table is-bordered is-striped is-narrow is-hoverable is-fullwidth gray-header-border"> |
411 | | - <tr> |
412 | | - <th>Exploitability (E)</th> |
413 | | - <th>Access Vector (AV)</th> |
414 | | - <th>Access Complexity (AC)</th> |
415 | | - <th>Authentication (Au)</th> |
416 | | - <th>Confidentiality Impact (C)</th> |
417 | | - <th>Integrity Impact (I)</th> |
418 | | - <th>Availability Impact (A)</th> |
419 | | - </tr> |
420 | | - <tr> |
421 | | - <td>{{ severity_vector.vector.exploitability|cvss_printer:"high,functional,unproven,proof_of_concept,not_defined" }}</td> |
422 | | - <td>{{ severity_vector.vector.accessVector|cvss_printer:"local,adjacent_network,network" }}</td> |
423 | | - <td>{{ severity_vector.vector.accessComplexity|cvss_printer:"high,medium,low" }}</td> |
424 | | - <td>{{ severity_vector.vector.authentication|cvss_printer:"multiple,single,none" }}</td> |
425 | | - <td>{{ severity_vector.vector.confidentialityImpact|cvss_printer:"none,partial,complete" }}</td> |
426 | | - <td>{{ severity_vector.vector.integrityImpact|cvss_printer:"none,partial,complete" }}</td> |
427 | | - <td>{{ severity_vector.vector.availabilityImpact|cvss_printer:"none,partial,complete" }}</td> |
428 | | - </tr> |
429 | | - </table> |
430 | | - {% elif severity_vector.vector.version == '3.1' or severity_vector.vector.version == '3.0'%} |
431 | | - Vector: {{ severity_vector.vector.vectorString }} Found at <a href="{{ severity_vector.origin }}" target="_blank">{{ severity_vector.origin }}</a> |
432 | | - <table class="table is-bordered is-striped is-narrow is-hoverable is-fullwidth gray-header-border"> |
433 | | - <tr> |
434 | | - <th>Attack Vector (AV)</th> |
435 | | - <th>Attack Complexity (AC)</th> |
436 | | - <th>Privileges Required (PR)</th> |
437 | | - <th>User Interaction (UI)</th> |
438 | | - <th>Scope (S)</th> |
439 | | - <th>Confidentiality Impact (C)</th> |
440 | | - <th>Integrity Impact (I)</th> |
441 | | - <th>Availability Impact (A)</th> |
442 | | - </tr> |
443 | | - <tr> |
444 | | - <td>{{ severity_vector.vector.attackVector|cvss_printer:"network,adjacent_network,local,physical"}}</td> |
445 | | - <td>{{ severity_vector.vector.attackComplexity|cvss_printer:"low,high" }}</td> |
446 | | - <td>{{ severity_vector.vector.privilegesRequired|cvss_printer:"none,low,high" }}</td> |
447 | | - <td>{{ severity_vector.vector.userInteraction|cvss_printer:"none,required"}}</td> |
448 | | - <td>{{ severity_vector.vector.scope|cvss_printer:"unchanged,changed" }}</td> |
449 | | - <td>{{ severity_vector.vector.confidentialityImpact|cvss_printer:"high,low,none" }}</td> |
450 | | - <td>{{ severity_vector.vector.integrityImpact|cvss_printer:"high,low,none" }}</td> |
451 | | - <td>{{ severity_vector.vector.availabilityImpact|cvss_printer:"high,low,none" }}</td> |
452 | | - </tr> |
453 | | - </table> |
454 | | - {% elif severity_vector.vector.version == '4' %} |
455 | | - Vector: {{ severity_vector.vector.vectorString }} Found at <a href="{{ severity_vector.origin }}" target="_blank">{{ severity_vector.origin }}</a> |
456 | | - <table class="table is-bordered is-striped is-narrow is-hoverable is-fullwidth gray-header-border"> |
457 | | - <tr> |
458 | | - <th>Attack Vector (AV)</th> |
459 | | - <th>Attack Complexity (AC)</th> |
460 | | - <th>Attack Requirements (AT)</th> |
461 | | - <th>Privileges Required (PR)</th> |
462 | | - <th>User Interaction (UI)</th> |
463 | | - |
464 | | - <th>Vulnerable System Impact Confidentiality (VC)</th> |
465 | | - <th>Vulnerable System Impact Integrity (VI)</th> |
466 | | - <th>Vulnerable System Impact Availability (VA)</th> |
467 | | - |
468 | | - <th>Subsequent System Impact Confidentiality (SC)</th> |
469 | | - <th>Subsequent System Impact Integrity (SI)</th> |
470 | | - <th>Subsequent System Impact Availability (SA)</th> |
471 | | - </tr> |
472 | | - <tr> |
473 | | - <td>{{ severity_vector.vector.attackVector|cvss_printer:"network,adjacent,local,physical"}}</td> |
474 | | - <td>{{ severity_vector.vector.attackComplexity|cvss_printer:"low,high" }}</td> |
475 | | - <td>{{ severity_vector.vector.attackRequirement|cvss_printer:"none,present" }}</td> |
476 | | - <td>{{ severity_vector.vector.privilegesRequired|cvss_printer:"none,low,high" }}</td> |
477 | | - <td>{{ severity_vector.vector.userInteraction|cvss_printer:"none,passive,active"}}</td> |
478 | | - |
479 | | - <td>{{ severity_vector.vector.vulnerableSystemImpactConfidentiality|cvss_printer:"high,low,none" }}</td> |
480 | | - <td>{{ severity_vector.vector.vulnerableSystemImpactIntegrity|cvss_printer:"high,low,none" }}</td> |
481 | | - <td>{{ severity_vector.vector.vulnerableSystemImpactAvailability|cvss_printer:"high,low,none" }}</td> |
482 | | - |
483 | | - <td>{{ severity_vector.vector.subsequentSystemImpactConfidentiality|cvss_printer:"high,low,none" }}</td> |
484 | | - <td>{{ severity_vector.vector.subsequentSystemImpactIntegrity|cvss_printer:"high,low,none" }}</td> |
485 | | - <td>{{ severity_vector.vector.subsequentSystemImpactAvailability|cvss_printer:"high,low,none" }}</td> |
486 | | - </tr> |
487 | | - </table> |
488 | | - {% elif severity_vector.vector.version == 'ssvc' %} |
489 | | - <hr/> |
490 | | - Vector: {{ severity_vector.vector.vectorString }} Found at <a href="{{ severity_vector.origin }}" target="_blank">{{ severity_vector.origin }}</a> |
491 | | - <hr/> |
492 | | - {% endif %} |
493 | | - {% empty %} |
494 | | - <tr> |
495 | | - <td> |
496 | | - There are no known vectors. |
497 | | - </td> |
498 | | - </tr> |
499 | | - {% endfor %} |
500 | | - </div> |
501 | 408 |
|
502 | 409 |
|
503 | 410 | <div class="tab-div content" data-content="epss"> |
|
543 | 450 | {% endif %} |
544 | 451 | </div> |
545 | 452 |
|
| 453 | + <div class="tab-div content" data-content="ssvcs"> |
| 454 | + {% if ssvcs %} |
| 455 | + {% for ssvc in ssvcs %} |
| 456 | + <div class="box ssvc-card mb-0 pb-0"> |
| 457 | + <div> |
| 458 | + <p> |
| 459 | + Vector: {{ ssvc.vector }} |
| 460 | + </p> |
| 461 | + <p> |
| 462 | + Decision: {{ ssvc.decision }} |
| 463 | + </p> |
| 464 | + <p> |
| 465 | + Source URL: |
| 466 | + <a href="{{ ssvc.advisory_url }}" target="_blank"> |
| 467 | + {{ ssvc.advisory_url }} |
| 468 | + <i class="fa fa-external-link fa_link_custom"></i> |
| 469 | + </a> |
| 470 | + </p> |
| 471 | + <p> |
| 472 | + Source Advisory: |
| 473 | + <a href="{{ ssvc.advisory.get_absolute_url }}"> |
| 474 | + {{ ssvc.advisory.avid }} |
| 475 | + <i class="fa fa-external-link fa_link_custom"></i> |
| 476 | + </a> |
| 477 | + </p> |
| 478 | + <details> |
| 479 | + <summary class="is-size-7 has-text-link" style="cursor: pointer;"> |
| 480 | + View SSVC decision tree |
| 481 | + </summary> |
| 482 | + <pre>{{ ssvc.options|pprint }}</pre> |
| 483 | + </details> |
| 484 | + </div> |
| 485 | + </div> |
| 486 | + {% endfor %} |
| 487 | + {% else %} |
| 488 | + <p>There are no SSVC decisions available.</p> |
| 489 | + {% endif %} |
| 490 | + </div> |
| 491 | + |
546 | 492 | <!-- <div class="tab-div content" data-content="history"> |
547 | 493 | <table class="table is-bordered is-striped is-narrow is-hoverable is-fullwidth"> |
548 | 494 | <thead> |
|
0 commit comments