Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

33 bundles #47

Merged
merged 66 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
7cb2cb9
new: [website] Intial JSON schema, Model, views, template and API end…
cedricbonhomme Jul 5, 2024
64ac524
chg: [website] Fixed a typo in the JSON schema for the bundle.
cedricbonhomme Jul 5, 2024
9429053
chg: [website] Fixed a small typo in web/views/__init__py.
cedricbonhomme Jul 5, 2024
8c44ee1
Merge branch 'main' into 33-bundles
cedricbonhomme Jul 8, 2024
f4117e5
chg: [website] Added description_format as field for the bundles.
cedricbonhomme Jul 8, 2024
3acb058
chg: [website] Removed useless form in bundle blueprint.
cedricbonhomme Jul 8, 2024
8ecca68
chg: [website] added view to create and edit bundles. new migration f…
cedricbonhomme Jul 8, 2024
5f7dbf7
chg: [website] Bundles referencing a vulnerability are now displayed …
cedricbonhomme Jul 8, 2024
ab96bee
chg: [website] Minor improvements to vuln.html
cedricbonhomme Jul 8, 2024
8ffa300
chg: [website] Added new experimental activity feed for users.
cedricbonhomme Jul 8, 2024
06f756c
chg: [website] Improved RSS and ATOM feeds output.
cedricbonhomme Jul 9, 2024
38f26dc
chg: [website] Added markdown Python library as dependency.
cedricbonhomme Jul 9, 2024
40ee3af
chg: [website] Added missing mypy annotations.
cedricbonhomme Jul 9, 2024
fc0370c
chg: [website] small improvements to various templates
cedricbonhomme Jul 9, 2024
ff9e49a
Merge branch 'main' into 33-bundles
cedricbonhomme Jul 9, 2024
9112e91
fix: [website] Updated the list of related vulnerabilities.
cedricbonhomme Jul 9, 2024
615a7e3
chg: [website] Improved bootstrap cards for the bundles.
cedricbonhomme Jul 9, 2024
b324aad
chg: [bin] Updated update command of vulnerability-lookup: any databa…
cedricbonhomme Jul 9, 2024
a7a0735
chg: [website] Improved API.
cedricbonhomme Jul 9, 2024
53d6c25
chg: [website] Added more comments and cleaned code.
cedricbonhomme Jul 9, 2024
24ca924
chg: [website] Replaced moment.js by Luxon.
cedricbonhomme Jul 9, 2024
5b8e674
chg: [documentation] Updated documentation.
cedricbonhomme Jul 9, 2024
5885a3a
chg: [website] Minor improvements to the main menu.
cedricbonhomme Jul 9, 2024
4aae795
chg: [website] A blocklist of usernames is now used to block words we…
cedricbonhomme Jul 10, 2024
5d401ee
chg: [website] Improved forms to create and edit users.
cedricbonhomme Jul 10, 2024
639e8a9
chg: [website] Added missing mypy annotations.
cedricbonhomme Jul 10, 2024
c42aa87
chg: [website] On the '/vuln/<vuln-id>' page the number of elements i…
cedricbonhomme Jul 10, 2024
a4fac86
chg: [website] Minor improvements to the user profile page.
cedricbonhomme Jul 10, 2024
04faa6e
chg: [website] Minor improvements to the comments.html, vuln.html and…
cedricbonhomme Jul 10, 2024
a599995
chg: [documentation] Added information about how to start the website…
cedricbonhomme Jul 10, 2024
0443b1a
fix: [website]: name of vendors returned by get_vendors are lowercase.
cedricbonhomme Jul 11, 2024
4a10712
chg: [website] Added the possibility to specify a vendor id to the fe…
cedricbonhomme Jul 11, 2024
3da3026
chg: [website] Cosmethic change to the search.html template.
cedricbonhomme Jul 11, 2024
fe5239e
chg: [documentation] Added a section about feed syndication.
cedricbonhomme Jul 11, 2024
4e4ded2
chg: [website] Make mypy happy again.
cedricbonhomme Jul 11, 2024
90b5e6f
chg: [website] Properly count the number of linked vulnerabilities.
cedricbonhomme Jul 11, 2024
a79680e
fix: [website] vulnerabilitylookup.get_vendors returns lowercase resu…
cedricbonhomme Jul 12, 2024
3cdafce
chg: [website] Improvements to the search (by vendor/product) page.
cedricbonhomme Jul 12, 2024
2caab56
chg: [security] Enable CSRF globally.
cedricbonhomme Jul 14, 2024
bbf5cee
chg: [website] UUID converter for routes is now included in Flask.
cedricbonhomme Jul 15, 2024
3b83e45
chg: [website] Added missing mypy annotation.
cedricbonhomme Jul 15, 2024
74fa5cb
chg: [website] Removed useless imports.
cedricbonhomme Jul 15, 2024
ca18b97
chg: [website] Use the uuid converter for various routes.
cedricbonhomme Jul 15, 2024
3c3cb29
chg: [security] Added missing CSRF token on various forms.
cedricbonhomme Jul 15, 2024
9266c24
chg: [website] The directory should only lists confirmed users.
cedricbonhomme Jul 15, 2024
9166604
chg: [website] Various improvements to the web interface (mainly page…
cedricbonhomme Jul 15, 2024
73bb5b0
chg: [mypy] Added missing mypy annotation.
cedricbonhomme Jul 15, 2024
aa4a5c0
chg: [website] Backend does not validate JSON vuln data sent from an …
cedricbonhomme Jul 15, 2024
5b9b7da
chg: [website] Added a pretty version for display of the different so…
cedricbonhomme Jul 15, 2024
f2debd1
chg: [website] Harmonization of dropdown menus.
cedricbonhomme Jul 16, 2024
3c10638
chg: [config] Updated default config for the website.
cedricbonhomme Jul 16, 2024
0366c2f
chg: [mypy] Added missing mypy annotation.
cedricbonhomme Jul 16, 2024
f9af561
chg: [website] Markdown code from GitHub, PySec and VarIoT advisories…
cedricbonhomme Jul 16, 2024
1a2a6a9
chg: [website] Improved about page.
cedricbonhomme Jul 16, 2024
3dffadc
chg: [documentation] Updated documentation.
cedricbonhomme Jul 16, 2024
de876e2
chg: the key used in zscan_iter is now defined before the for loop. I…
cedricbonhomme Jul 16, 2024
a41d846
chg: [website] Updated about page - description of the project.
cedricbonhomme Jul 16, 2024
695eb37
chg: [website] The count of comments, bundles and linked vulns is now…
cedricbonhomme Jul 16, 2024
40f9199
chg: harmonized indentation in pre-commit.yaml file.
cedricbonhomme Jul 16, 2024
426a334
fix: [README] Fixed a typo.
cedricbonhomme Jul 16, 2024
aaa7356
chg: [dependencies] Updated Python dependencies.
cedricbonhomme Jul 16, 2024
8505b85
chg: [website] Renders the markdown code from OSSF vulnerability advi…
cedricbonhomme Jul 16, 2024
a6312b2
chg: [website] Added share on Mastodon button.
cedricbonhomme Jul 16, 2024
0646a4a
chg: [website] Pretty print JSON from the page 'comments'.
cedricbonhomme Jul 17, 2024
e6cc5b0
chg: [config] Added mention to CSAF in the default config of sources …
cedricbonhomme Jul 17, 2024
282f045
chg: [website] Added a simple datalist refresh system in JavaScript f…
cedricbonhomme Jul 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
root = true

[*]
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
max_line_length = 140

[*.{yml,yaml,json,js,css,html}]
indent_size = 2

[*.{md,rst}]
trim_trailing_whitespace = false

[LICENSE]
insert_final_newline = false

[Makefile]
indent_style = tab
11 changes: 6 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: fix-byte-order-marker
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
args: ['--maxkb=800']
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.1
hooks:
- id: pyupgrade
- id: pyupgrade
args: [--py38-plus]
6 changes: 6 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Developers
----------

Alexandre Dulaunoy - https://www.foo.be
Cédric Bonhomme - https://www.cedricbonhomme.org
Raphaël Vinot - <raphael@vinot.info>
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
# vulnerability-lookup
# Vulnerability Lookup

vulnerability-lookup is a rewrite of cve-search to support fast vulnerability lookup correlation from different sources, independent vulnerability ID and easily manage coordinated vulnerability disclosure (CVD).
[![Latest release](https://img.shields.io/github/release/cve-search/vulnerability-lookup.svg?style=flat-square)](https://github.com/cve-search/vulnerability-lookup/releases/latest)
[![License](https://img.shields.io/github/license/cve-search/vulnerability-lookup.svg?style=flat-square)](https://www.gnu.org/licenses/agpl-3.0.html)
[![Contributors](https://img.shields.io/github/contributors/cve-search/vulnerability-lookup.svg?style=flat-square)](https://github.com/cve-search/vulnerability-lookup/graphs/contributors)
[![Stars](https://img.shields.io/github/stars/cve-search/vulnerability-lookup.svg?style=flat-square)](https://github.com/cve-search/vulnerability-lookup/stargazers)

Online vulnerability-lookup available at [https://vulnerability.circl.lu](https://vulnerability.circl.lu/).
Vulnerability Lookup facilitates quick correlation of vulnerabilities from various sources,
independent of vulnerability IDs, and streamlines the management of Coordinated Vulnerability Disclosure (CVD).
Vulnerability Lookup is also a collaborative platform where users can comment on security advisories and create bundles.

Documentation: [vulnerability-lookup.readthedocs.io](https://vulnerability-lookup.readthedocs.io).
A Vulnerability Lookup instance operated by [CIRCL](https://www.circl.lu/)
is available at [https://vulnerability.circl.lu](https://vulnerability.circl.lu/).

## Features

- A fast lookup API to search for vulnerabilities and find correlation per vulnerability identifier.
- Modular system to import different vulnerability sources.
- An API for adding new vulnerability including ID assigment, state and disclosure.
- Creation, edition and fork/copy of Security Advisories with the [vulnogram editor](https://github.com/Vulnogram/Vulnogram).
- A user management system to support comment, report and admin of vulnerability advisories.
- A user management system to support comment, report and admin of vulnerability advisories.
- Ability to add, review and share comments on vulnerability advisories.
- An extensive RSS and Atom support for vulnerabilities and comments.

Expand All @@ -27,7 +33,7 @@ A documentation is available [here](https://vulnerability-lookup.readthedocs.io)
- GitHub [Advisory Database](https://github.com/github/advisory-database) (via git submodule repository)
- PySec [Advisory Database](https://github.com/pypa/advisory-database) (via git submodule repository)
- [OpenSSF Malicious Packages](https://github.com/ossf/malicious-packages) (via git submodule repository)
- Additional sources via CSAF including certbund, CISA, Cisco, nozominetworks, OX, RedHat, Sick, Siemens
- Additional sources via CSAF including CERT-Bund, CISA, Cisco, nozominetworks, Open-Xchange, Red Hat, Sick, Siemens
- [VARIoT](https://www.variotdbs.pl/vulns/) IoT vulnerabilities database

## Requirements
Expand Down
4 changes: 4 additions & 0 deletions bin/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ def main() -> None:
keep_going(args.yes)
run_command(f'poetry run {(Path("tools") / "validate_config_files.py").as_posix()} --update')

print('* Migrate database.')
keep_going(args.yes)
run_command('poetry run flask --app website.app db upgrade')

print('* Restarting')
keep_going(args.yes)
if platform.system() == 'Windows':
Expand Down
19 changes: 19 additions & 0 deletions config/website.py.sample
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,22 @@ LOG_PATH = "logs/website_warning.log"
ADMIN_EMAIL = "info@circl.lu"
ADMIN_NAME = "Computer Incident Response Center Luxembourg (CIRCL)"
ADMIN_WEBSITE = "https://www.circl.lu"

SOURCES_TO_SHOW = {
"github": "GitHub",
"cvelistv5": "CVE List v5",
"nvd": "NVD",
"pysec": "PySec",
"gsd": "GSD",
"ossf_malicious_packages": "OpenSSF Malicious Packages",
"csaf_certbund": "CSAF CERT-Bund",
"csaf_siemens": "CSAF Siemens",
"csaf_redhat": "CSAF Red Hat",
"csaf_cisa": "CSAF CISA",
"csaf_cisco": "CSAF CISCO",
"csaf_sick": "CSAF Sick",
"csaf_nozominetworks": "CSAF Nozomi Networks",
"csaf_ox": "CSAF Open-Xchange",
"variot": "VARIoT",
"circl": "CIRCL",
}
Loading