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

Adds new vulnerabilities command to the repl #1120

Merged
merged 2 commits into from
May 28, 2024
Merged

Conversation

prabhu
Copy link
Contributor

@prabhu prabhu commented May 28, 2024

❯ node /mnt/work/CycloneDX/cdxgen/bin/repl.js sbom-java.vdr.json

 ██████╗██████╗ ██╗  ██╗
██╔════╝██╔══██╗╚██╗██╔╝
██║     ██║  ██║ ╚███╔╝
██║     ██║  ██║ ██╔██╗
╚██████╗██████╔╝██╔╝ ██╗
 ╚═════╝╚═════╝ ╚═╝  ╚═╝

✅ SBOM imported successfully from sbom-java.vdr.json
💭 Type .print to view the SBOM as a table
cdx ↝ .vulnerabilities
╔═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║                                                               Vulnerabilities                                                               ║
║                                                         Generated with ♥  by cdxgen                                                         ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────┬─────────────┬───────────────╢
║ Ref                                                                                                │ Ratings  │ State       │ Justification ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼─────────────┼───────────────╢
║ CVE-2019-12086/pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.9.8?type=jar                │ HIGH     │ exploitable │               ║
║                                                                                                    │ 7.5      │             │               ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼─────────────┼───────────────╢
║ CVE-2021-37533/pkg:maven/commons-net/commons-net@3.6?type=jar                                      │ MEDIUM   │             │               ║
║                                                                                                    │ 6.5      │             │               ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼─────────────┼───────────────╢
║ CVE-2023-1436/pkg:maven/org.codehaus.jettison/jettison@1.3.7?type=jar                              │ HIGH     │ in_triage   │               ║
║                                                                                                    │ 7.5      │             │               ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼─────────────┼───────────────╢
║ CVE-2022-45685/pkg:maven/org.codehaus.jettison/jettison@1.3.7?type=jar                             │ HIGH     │ in_triage   │               ║
║                                                                                                    │ 7.5      │             │               ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼─────────────┼───────────────╢
║ CVE-2020-36188/pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.9.8?type=jar                │ HIGH     │ in_triage   │               ║
║                                                                                                    │ 8.1      │             │               ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼─────────────┼───────────────╢
║ CVE-2017-5644/pkg:maven/org.apache.poi/poi@3.10-FINAL?type=jar                                     │ MEDIUM   │ in_triage   │               ║
║                                                                                                    │ 5.5      │             │               ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼─────────────┼───────────────╢
║ CVE-2018-11039/pkg:maven/org.springframework/spring-webmvc@4.3.6.RELEASE?type=jar                  │ MEDIUM   │ in_triage   │               ║
║                                                                                                    │ 5.9      │             │               ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼─────────────┼───────────────╢
║ CVE-2022-41854/pkg:maven/org.yaml/snakeyaml@1.21?type=jar                                          │ MEDIUM   │ in_triage   │               ║
║                                                                                                    │ 6.5      │             │               ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼─────────────┼───────────────╢
║ CVE-2019-12418/pkg:maven/org.apache.tomcat.embed/tomcat-embed-core@8.5.11?type=jar                 │ HIGH     │ exploitable │               ║
║                                                                                                    │ 7        │             │               ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼─────────────┼───────────────╢
║ CVE-2020-36179/pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.9.8?type=jar                │ HIGH     │ in_triage   │               ║
║                                                                                                    │ 8.1      │             │               ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼─────────────┼───────────────╢
║ GHSA-673j-qm5f-xpv8/pkg:maven/org.postgresql/postgresql@42.3.1?type=jar                            │ MEDIUM   │             │               ║
║                                                                                                    │ 5        │             │               ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼─────────────┼───────────────╢
║ CVE-2022-25647/pkg:maven/com.google.code.gson/gson@2.8.0?type=jar                                  │ HIGH     │ in_triage   │               ║
║                                                                                                    │ 7.7      │             │               ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼─────────────┼───────────────╢
║ CVE-2020-11113/pkg:maven/com.fasterxml.jackson.core/jackson-databind@2.9.8?type=jar                │ HIGH     │ in_triage   │               ║
║                                                                                                    │ 8.8      │             │               ║
╟────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────┼─────────────┼───────────────╢

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu requested a review from setchy as a code owner May 28, 2024 08:16
@prabhu prabhu added mode:repl enhancement New feature or request labels May 28, 2024
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu merged commit 87ed9c9 into master May 28, 2024
24 checks passed
@prabhu prabhu deleted the feature/cdxi-vulns branch May 28, 2024 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mode:repl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant