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

feat(os): support debian 12 #1676

Merged
merged 2 commits into from
May 12, 2023
Merged

Conversation

wagde-orca
Copy link
Contributor

@wagde-orca wagde-orca commented May 12, 2023

because we now rely only in gost and not oval... and debian security tracker has data about debian 12 we can support it

What did you implement:

support debian 12 in gost

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

$ vuls scan
[May 13 00:11:58]  INFO [localhost] vuls-v0.23.2-build-20230513_005405_cf5e1bb
[May 13 00:11:58]  INFO [localhost] Start scanning
[May 13 00:11:58]  INFO [localhost] config: /home/mainek00n/github/github.com/MaineK00n/vuls/config.toml
[May 13 00:11:58]  INFO [localhost] Validating config...
[May 13 00:11:58]  INFO [localhost] Detecting Server/Container OS... 
[May 13 00:11:58]  INFO [localhost] Detecting OS of servers... 
[May 13 00:11:58]  INFO [localhost] (1/1) Detected: vagrant: debian 12
[May 13 00:11:58]  INFO [localhost] Detecting OS of containers... 
[May 13 00:11:58]  INFO [localhost] Checking Scan Modes... 
[May 13 00:11:58]  INFO [localhost] Detecting Platforms... 
[May 13 00:12:00]  INFO [localhost] (1/1) vagrant is running on other
[May 13 00:12:00]  INFO [vagrant] Scanning OS pkg in fast mode

Scan Summary
================
vagrant	debian12	472 installed





To view the detail, vuls tui is useful.
To send a report, run vuls report -h.

$ vuls report
[May 13 00:12:07]  INFO [localhost] vuls-v0.23.2-build-20230513_005405_cf5e1bb
...
[May 13 00:12:07]  INFO [localhost] Skip OVAL and Scan with gost alone.
[May 13 00:12:07]  INFO [localhost] vagrant: 0 CVEs are detected with OVAL
[May 13 00:12:08]  INFO [localhost] vagrant: 194 CVEs are detected with gost
[May 13 00:12:08]  INFO [localhost] vagrant: 0 CVEs are detected with CPE
[May 13 00:12:09]  INFO [localhost] vagrant: 4 PoC are detected
[May 13 00:12:09]  INFO [localhost] vagrant: 0 exploits are detected
[May 13 00:12:09]  INFO [localhost] vagrant: Known Exploited Vulnerabilities are detected for 0 CVEs
[May 13 00:12:13]  INFO [localhost] vagrant: Cyber Threat Intelligences are detected for 59 CVEs
[May 13 00:12:13]  INFO [localhost] vagrant: total 194 CVEs detected
[May 13 00:12:13]  INFO [localhost] vagrant: 0 CVEs filtered by --confidence-over=80
vagrant (debian12)
==================
Total: 194 (Critical:8 High:39 Medium:67 Low:8 ?:72)
0/194 Fixed, 51 poc, 0 exploits, cisa: 0, uscert: 4, jpcert: 3 alerts
472 installed

+---------------------+------+--------+-----+-----------+---------+--------------------------------+
|       CVE-ID        | CVSS | ATTACK | POC |   ALERT   |  FIXED  |            PACKAGES            |
+---------------------+------+--------+-----+-----------+---------+--------------------------------+
| CVE-2005-2541       | 10.0 |  AV:N  |     |           | unfixed | tar                            |
+---------------------+------+--------+-----+-----------+---------+--------------------------------+
| CVE-2016-1585       |  9.8 |  AV:N  |     |           | unfixed | apparmor, libapparmor1         |
+---------------------+------+--------+-----+-----------+---------+--------------------------------+
| CVE-2016-9085       |  9.8 |  AV:L  |     |           | unfixed | libwebp7                       |
+---------------------+------+--------+-----+-----------+---------+--------------------------------+
| CVE-2017-9117       |  9.8 |  AV:N  | POC |           | unfixed | libtiff6                       |
+---------------------+------+--------+-----+-----------+---------+--------------------------------+
| CVE-2018-13410      |  9.8 |  AV:N  |     |           | unfixed | zip                            |
+---------------------+------+--------+-----+-----------+---------+--------------------------------+
| CVE-2019-1010022    |  9.8 |  AV:N  | POC |           | unfixed | libc-bin, libc-dev-bin,        |
|                     |      |        |     |           |         | libc-devtools, libc-l10n,      |
|                     |      |        |     |           |         | libc6, libc6-dev, locales      |
+---------------------+------+--------+-----+-----------+---------+--------------------------------+
| CVE-2019-16089      |  9.8 |  AV:L  |     |           | unfixed | linux-image-6.1.0-7-amd64      |
+---------------------+------+--------+-----+-----------+---------+--------------------------------+
| CVE-2022-28391      |  9.8 |  AV:N  | POC |           | unfixed | busybox                        |
+---------------------+------+--------+-----+-----------+---------+--------------------------------+
| CVE-2017-17973      |  8.8 |  AV:N  | POC |           | unfixed | libtiff6                       |
+---------------------+------+--------+-----+-----------+---------+--------------------------------+
| CVE-2017-5563       |  8.8 |  AV:N  |     |           | unfixed | libtiff6                       |
+---------------------+------+--------+-----+-----------+---------+--------------------------------+
| CVE-2019-1010023    |  8.8 |  AV:N  | POC |           | unfixed | libc-bin, libc-dev-bin,        |
|                     |      |        |     |           |         | libc-devtools, libc-l10n,      |
|                     |      |        |     |           |         | libc6, libc6-dev, locales      |
...

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

Checklist:

You don't have to satisfy all of the following.

  • Write tests
  • Write documentation
  • Check that there aren't other open pull requests for the same issue/feature
  • Format your source code by make fmt
  • Pass the test by make test
  • Provide verification config / commands
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: YES

Reference

@MaineK00n MaineK00n changed the title support debian 12 feat(os): support debian 12 May 12, 2023
@MaineK00n MaineK00n merged commit b2c5b79 into future-architect:master May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants