{% if advisory.withdrawn() %} {{ advisory.id() }} {% else %} {{ advisory.id() }} {% endif %}

{{ rendered_title|safe }}
{% if advisory.withdrawn() %}

This advisory has been withdrawn and should be ignored. It is kept only for reference.


{% endif %}
Issued
Package
{% match advisory.metadata.collection %} {% when Some with (collection) %} {% if collection.to_string() == "crates" %} {{ advisory.metadata.package }} (crates.io) {% else %} {{ advisory.metadata.package }} {% endif %} {% when None %} {{ advisory.metadata.package }} {% endmatch %}
Type
{% match advisory.metadata.informational %} {% when Some with (informational) %} {{ informational.to_string() | capitalize }} {% when None %} Vulnerability {% endmatch %}
{% if advisory.metadata.categories.len() > 0 %}
Categories
    {% for category in advisory.metadata.categories %}
  • {{ category.to_string() }}
  • {% endfor %}
{% endif %} {% if advisory.metadata.aliases.len() > 0 %}
Aliases
    {% for id in advisory.metadata.aliases %}
  • {% match id.url() %} {% when Some with (url) %} {{ id }} {% when None %} {{ id }} {% endmatch %}
  • {% endfor %}
{% endif %} {% if advisory.metadata.url.is_some() %}
Details
{{ advisory.metadata.url.as_ref().unwrap() }}
{% endif %} {% if advisory.metadata.related.len() > 0 %}
    {% for id in advisory.metadata.related %}
  • {% match id.url() %} {% when Some with (url) %} {{ id }} {% when None %} {{ id }} {% endmatch %}
  • {% endfor %}
{% endif %} {% match advisory.metadata.cvss %} {% when Some with (cvss) %}
CVSS
{{ cvss }}
{% when None %} {% endmatch %}
Patched
{% if advisory.versions.patched().len() == 0 %} no patched versions {% else %}
    {% for patched in advisory.versions.patched() %}
  • {{ patched }}
  • {% endfor %}
{% endif %}
{% if advisory.versions.unaffected().len() > 0 %}
Unaffected
    {% for unaffected in advisory.versions.unaffected() %}
  • {{ unaffected }}
  • {% endfor %}
{% endif %} {% if advisory.metadata.keywords.len() > 0 %}
Keywords
    {% for keyword in advisory.metadata.keywords %}
  • {{ keyword.as_str() }}
  • {% endfor %}
{% endif %} {% match advisory.affected %} {% when Some with (affected) %} {% if affected.arch.len() > 0 %}
Affected Architectures
    {% for arch in affected.arch %}
  • {{ arch }}
  • {% endfor %}
{% endif %} {% if affected.os.len() > 0 %}
Affected OSes
    {% for os in affected.os %}
  • {{ os }}
  • {% endfor %}
{% endif %} {% when None %} {% endmatch %}
{% match advisory.affected %} {% when Some with (affected) %} {% if affected.functions.len() > 0 %}
Affected Functions
Version
{% for function in affected.functions %}
{{ function.0 }}
    {% for version_req in function.1 %}
  • {{ version_req }}
  • {% endfor %}
{% endfor %}
{% endif %} {% when None %} {% endmatch %}

Description

{{ rendered_description|safe }} {% match advisory.metadata.collection %} {% when Some with (collection) %}

More

{% when None %} {% endmatch %}