You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2021/02/24 09:22:30 UTC
[lucene-site] 01/02: Fix security page with missing CVE links
This is an automated email from the ASF dual-hosted git repository.
janhoy pushed a commit to branch main/solr
in repository https://gitbox.apache.org/repos/asf/lucene-site.git
commit 364527d175217bedc8063b0df523d221a4de8edf
Author: Jan Høydahl <ja...@cominvent.com>
AuthorDate: Wed Feb 24 10:21:26 2021 +0100
Fix security page with missing CVE links
---
content/solr/security/2017-10-12-zero-day.md | 1 +
content/solr/security/2017-10-18-cve-2017-9803.md | 1 +
themes/solr/templates/security.html | 2 +-
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/content/solr/security/2017-10-12-zero-day.md b/content/solr/security/2017-10-12-zero-day.md
index edde82b..a188d62 100644
--- a/content/solr/security/2017-10-12-zero-day.md
+++ b/content/solr/security/2017-10-12-zero-day.md
@@ -1,5 +1,6 @@
Title: Please secure your Apache Solr servers since a zero-day exploit has been reported on a public mailing list
category: solr/security
+cve: CVE-2017-12629
slug: solr-security-please-secure-your-apache-solr-servers-since-a-zero-day-exploit-has-been-reported-on-a-public-mailing-list
Please secure your Solr servers since a zero-day exploit has been
diff --git a/content/solr/security/2017-10-18-cve-2017-9803.md b/content/solr/security/2017-10-18-cve-2017-9803.md
index e9ed81e..63c2dae 100644
--- a/content/solr/security/2017-10-18-cve-2017-9803.md
+++ b/content/solr/security/2017-10-18-cve-2017-9803.md
@@ -1,5 +1,6 @@
Title: Several critical vulnerabilities discovered in Apache Solr (XXE & RCE)
category: solr/security
+cve: CVE-2017-9803
**Severity:**
Critical
diff --git a/themes/solr/templates/security.html b/themes/solr/templates/security.html
index af8aeac..bbb55e9 100644
--- a/themes/solr/templates/security.html
+++ b/themes/solr/templates/security.html
@@ -24,7 +24,7 @@
</tr>
{% for article in (articles | selectattr("category.name", "eq", "solr/security")|list)[:15] %}
<tr>
- <td><a href="https://nvd.nist.gov/vuln/detail/{{ article.cve }}">{{ article.cve }}</a></td>
+ <td>{% if article.cve %}<a href="https://nvd.nist.gov/vuln/detail/{{ article.cve }}">{{ article.cve }}</a>{% endif %}</td>
<td>{{ article.date | strftime("%Y-%m-%d") }}</td>
<td><a href="#{{ article.slug }}">{{ article.title | regex_replace('^CVE.*?: ', '') }}</a></td>
</tr>