You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mj...@apache.org on 2021/03/30 10:40:57 UTC

svn commit: r1888197 - in /httpd/site/trunk/content/security: cvejsontohtml.py vulnerabilities-httpd.xml

Author: mjc
Date: Tue Mar 30 10:40:57 2021
New Revision: 1888197

URL: http://svn.apache.org/viewvc?rev=1888197&view=rev
Log:
Let our script run in python2 as that's what the default is on the
cms builder.  Bumb vulns to trigger it

Modified:
    httpd/site/trunk/content/security/cvejsontohtml.py
    httpd/site/trunk/content/security/vulnerabilities-httpd.xml

Modified: httpd/site/trunk/content/security/cvejsontohtml.py
URL: http://svn.apache.org/viewvc/httpd/site/trunk/content/security/cvejsontohtml.py?rev=1888197&r1=1888196&r2=1888197&view=diff
==============================================================================
--- httpd/site/trunk/content/security/cvejsontohtml.py (original)
+++ httpd/site/trunk/content/security/cvejsontohtml.py Tue Mar 30 10:40:57 2021
@@ -94,11 +94,11 @@ if (options.extratext):
 for sectioncves in sections:
     print ("\n<h1 id=\""+sectioncves["fixed"]+"\">Fixed in "+sectioncves["product"]+" "+sectioncves["fixed"]+"</h1><dl>\n")
     for e in sectioncves["cves"]:
-        html = f"<dt><h3 id=\"{e['cveid']}\">{e['impact']}: <name name=\"{e['cveid']}\">"+saxutils.escape(e['title'])+"</name>\n";
-        html += f"(<a href=\"http://cve.mitre.org/cgi-bin/cvename.cgi?name={e['cveid']}\">{e['cveid']}</a>)</h3></dt>\n";
+        html = "<dt><h3 id=\""+e['cveid']+"\">"+e['impact']+": <name name=\""+e['cveid']+"\">"+saxutils.escape(e['title'])+"</name>\n";
+        html += "(<a href=\"http://cve.mitre.org/cgi-bin/cvename.cgi?name="+e['cveid']+"\">"+e['cveid']+"</a>)</h3></dt>\n";
         html += "<dd><p>"+saxutils.escape(e['desc'])+"</p>\n"
         if (e['credit'] != ""): html += "<p>Acknowledgements: "+saxutils.escape(e['credit'])+"</p>\n"
-        html += f"<table class=\"cve\">"
+        html += "<table class=\"cve\">"
         e['timetable'].append(["Affects",e['affects']]);
         for ti in e['timetable']:
             html+= "<tr><td class=\"cve-header\">"+ti[0]+"</td><td class=\"cve-value\">"+ti[1]+"</td></tr>\n"

Modified: httpd/site/trunk/content/security/vulnerabilities-httpd.xml
URL: http://svn.apache.org/viewvc/httpd/site/trunk/content/security/vulnerabilities-httpd.xml?rev=1888197&r1=1888196&r2=1888197&view=diff
==============================================================================
--- httpd/site/trunk/content/security/vulnerabilities-httpd.xml (original)
+++ httpd/site/trunk/content/security/vulnerabilities-httpd.xml Tue Mar 30 10:40:57 2021
@@ -1,4 +1,5 @@
-<security updated="20210330">  
+<security updated="20210330">
+  
 <issue reported="20200722" public="20200807">
    <cve name="CVE-2020-11984"/>