Skip to content

Commit 56e0581

Browse files
committed
Add license for ubuntu usn importer
Signed-off-by: Tushar Goel <[email protected]>
1 parent 1c22a93 commit 56e0581

File tree

1 file changed

+42
-1
lines changed

1 file changed

+42
-1
lines changed

vulnerabilities/importers/ubuntu_usn.py

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,48 @@
2020

2121
class UbuntuUSNImporter(Importer):
2222
db_url = "https://usn.ubuntu.com/usn-db/database-all.json.bz2"
23-
spdx_license_expression = "GPL"
23+
spdx_license_expression = "LicenseRef-scancode-other-permissive"
24+
notice = """
25+
From: Seth Arnold <[email protected]>
26+
Date: Wed, Jan 25, 2023 at 2:02 AM
27+
Subject: Re: [ubuntu-hardened] Usage of Ubuntu Security Data in VulnerableCode
28+
To: Tushar Goel <[email protected]>
29+
30+
31+
32+
On Wed, Jan 11, 2023 at 06:27:38PM +0530, Tushar Goel wrote:
33+
> We would like to integrate the Ubuntu usn data[1][2] and
34+
> Ubuntu security data (OVAL format)[3] in vulnerablecode[4]
35+
> which is a FOSS db of FOSS vulnerability data. We were not
36+
> able to know under which license this security data comes.
37+
> We would be grateful to have your acknowledgement over usage of
38+
> the ubuntu security data in vulnerablecode and have
39+
> some kind of licensing declaration from your side.
40+
41+
Hello Tushar, we do not have an explicit license on this data.
42+
43+
We share our data with the intention that others will use it. Please
44+
feel free to use it for the general furtherance of security.
45+
46+
Much of the data that's contained within our databases is sourced from
47+
third parties, who also shared their data with the intention that others
48+
will use it. I'm not sure what it would look like to try to put a license
49+
on data that is crowd-sourced from thousands of contributors. (If you were
50+
to start such a project today, it'd probably be one of the first things to
51+
formalize. But when CVE was started two decades ago, the primary goal was
52+
sharing knowledge and simplifying the vulnerability remediation process,
53+
and licensing the data was, as far as I can remember, not considered.
54+
Sharing was the goal.)
55+
56+
I will ask that vulnerablecode 'be nice' to our infrastructure that
57+
hosts the databases -- some automated uses of our infrastructure by
58+
vulnerability scanner tools has lead to significant load and engineering
59+
effort. In general, please prefer a small handful of systems updating
60+
mirrors roughly twice a day rather than thousands of hosts pulling
61+
data hourly.
62+
63+
Thanks
64+
"""
2465

2566
def advisory_data(self):
2667
usn_db = fetch(self.db_url)

0 commit comments

Comments
 (0)