{{ define "extra_head" }} {{ end }} {{ define "content" }}

{{ .Vulnerability.Id }}

{{ if and .HumanSourceLink (hasPrefix .HumanSourceLink "https://github.com/advisories/") }} Suggest an improvement {{ else if and .HumanSourceLink (not (hasPrefix .Vulnerability.Id "openSUSE-")) }} {{ else }} See a problem? {{ end }}
{{ if and .HumanSourceLink (not (hasPrefix .Vulnerability.Id "openSUSE-")) }}
Source
{{ .HumanSourceLink }}
{{ end }} {{ if .SourceLink }}
Import Source
{{ .SourceLink }}
{{ end }}
JSON Data
https://{{ .APIURL }}/v1/vulns/{{ .Vulnerability.Id }}
{{ if .Vulnerability.Aliases }}
Aliases
    {{ range $alias := .Vulnerability.Aliases }}
  • {{ if $.IsKnownID $alias }} {{ $alias }} {{ else }} {{ $alias }} {{ end }}
  • {{ end }}
{{ end }} {{ if .UpstreamHierarchy }}
Upstream
{{ .UpstreamHierarchy }}
{{ end }} {{ if .DownstreamHierarchy }}
Downstream
{{ .DownstreamHierarchy }}
{{ end }} {{ if .RelatedHTML }}
Related
{{ end }} {{ if .FormattedWithdrawn }}
Withdrawn
{{ .FormattedWithdrawn }}
{{ end }}
Published
{{ .FormattedPublished }}
Modified
{{ .FormattedModified }}
{{ if .Severities }}
Severity
    {{ range .Severities }}
  • {{ if .IsCVSS }} {{ .Rating }} {{ .Type }} - {{ .Score }} {{ if .Source }}(Source: {{ .Source }}){{ end }} {{ if .CalculatorURL }} CVSS Calculator {{ end }} {{ else }} {{ .Type }} - {{ .Score }} {{ if .Source }}(Source: {{ .Source }}){{ end }} {{ end }}
  • {{ end }}
{{ end }}
Summary
{{ if .Vulnerability.Summary }} {{ .Vulnerability.Summary }} {{ else }} [none] {{ end }}
Details
{{ .DetailsHTML }}
{{ if .DatabaseSpecificJSON }}
Database specific
{{ .DatabaseSpecificJSON }}
{{ end }} {{ if .Vulnerability.References }}
References
{{ end }} {{ if .Vulnerability.Credits }}
Credits
    {{ range .Vulnerability.Credits }}
    • {{ .Name }}{{ if .Type }} - {{ .Type }}{{ end }}
    • {{ if .Contact }}
      • {{ range .Contact }}
      • {{ . }}
      • {{ end }}
    • {{ end }}
  • {{ end }}
{{ end }}

Affected packages

{{ if .ShouldCollapse }}
{{ range $ecoGroup := .EcosystemGroups }}
{{ $ecoGroup.EcosystemName }}
{{ range $ecoGroup.Packages }}
{{ .PackageName }}
{{ if .HasPackage }}

Package

Name
{{ if .EcosystemLink }}
{{ .PackageName }}
{{ else }}
{{ .PackageName }}
{{ end }} {{ if .DepsDevURL }}
View open source insights on deps.dev
{{ end }} {{ if .PackagePurl }}
Purl
{{ .PackagePurl }}
{{ end }}
{{ end }} {{ if .Severities }}

Severity

    {{ range .Severities }}
  • {{ if .IsCVSS }} {{ .Rating }} {{ .Type }} - {{ .Score }} {{ if .Source }}(Source: {{ .Source }}){{ end }} {{ if .CalculatorURL }} CVSS Calculator {{ end }} {{ else }} {{ .Type }} - {{ .Score }} {{ if .Source }}(Source: {{ .Source }}){{ end }} {{ end }}
  • {{ end }}
{{ end }}

Affected ranges

{{ range .Ranges }}
Type
{{ .Type }}
{{ if .Repo }}
Repo
{{ .Repo }}
{{ end }}
Events
{{ range .Events }}
{{ .Type }}
{{ if .Link }} {{ .Value }} {{ else if .IsUnknown }}
{{ .Value }} {{ .TooltipText }}
{{ else }} {{ .Value }} {{ end }}
{{ end }}
{{ if .DatabaseSpecificJSON }}
Database specific
Show details
{{ .DatabaseSpecificJSON }}
{{ end }}
{{ end }}
{{ if .VersionGroups }}

Affected versions

{{ range .VersionGroups }}
{{ .Header }}
{{ range .Versions }}
{{ . }}
{{ end }}
{{ end }}
{{ end }} {{ if .EcosystemSpecificJSON }}

Ecosystem specific

{{ .EcosystemSpecificJSON }}
{{ end }} {{ if .DatabaseSpecificJSON }}

Database specific

{{ if .DatabaseSpecificKVs }}
{{ range .DatabaseSpecificKVs }}
{{ .Key }}
{{ .Value }}
{{ end }}
{{ else }}
{{ .DatabaseSpecificJSON }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ else }} {{ range .AffectedPackages }}

{{ .EcosystemName }} / {{ .PackageName }}

{{ if .HasPackage }}

Package

Name
{{ if .EcosystemLink }}
{{ .PackageName }}
{{ else }}
{{ .PackageName }}
{{ end }} {{ if .DepsDevURL }}
View open source insights on deps.dev
{{ end }} {{ if .PackagePurl }}
Purl
{{ .PackagePurl }}
{{ end }}
{{ end }} {{ if .Severities }}

Severity

    {{ range .Severities }}
  • {{ if .IsCVSS }} {{ .Rating }} {{ .Type }} - {{ .Score }} {{ if .Source }}(Source: {{ .Source }}){{ end }} {{ if .CalculatorURL }} CVSS Calculator {{ end }} {{ else }} {{ .Type }} - {{ .Score }} {{ if .Source }}(Source: {{ .Source }}){{ end }} {{ end }}
  • {{ end }}
{{ end }}

Affected ranges

{{ range .Ranges }}
Type
{{ .Type }}
{{ if .Repo }}
Repo
{{ .Repo }}
{{ end }}
Events
{{ range .Events }}
{{ .Type }}
{{ if .Link }} {{ .Value }} {{ else if .IsUnknown }}
{{ .Value }} {{ .TooltipText }}
{{ else }} {{ .Value }} {{ end }}
{{ end }}
{{ if .DatabaseSpecificJSON }}
Database specific
Show details
{{ .DatabaseSpecificJSON }}
{{ end }}
{{ end }}
{{ if .VersionGroups }}

Affected versions

{{ range .VersionGroups }}
{{ .Header }}
{{ range .Versions }}
{{ . }}
{{ end }}
{{ end }}
{{ end }} {{ if .EcosystemSpecificJSON }}

Ecosystem specific

{{ .EcosystemSpecificJSON }}
{{ end }} {{ if .DatabaseSpecificJSON }}

Database specific

{{ if .DatabaseSpecificKVs }}
{{ range .DatabaseSpecificKVs }}
{{ .Key }}
{{ .Value }}
{{ end }}
{{ else }}
{{ .DatabaseSpecificJSON }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}