From d09058a544bf45cc0814ed9b300cd940bc263617 Mon Sep 17 00:00:00 2001 From: Tristan Cacqueray Date: Thu, 18 Jul 2024 06:46:42 -0400 Subject: [PATCH] Update cvss version and add changelog entry --- code/cvss/CHANGELOG.md | 4 ++++ code/cvss/cvss.cabal | 2 +- code/hsec-core/hsec-core.cabal | 2 +- code/hsec-tools/hsec-tools.cabal | 2 +- code/osv/osv.cabal | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/code/cvss/CHANGELOG.md b/code/cvss/CHANGELOG.md index 9a309d74..a084be39 100644 --- a/code/cvss/CHANGELOG.md +++ b/code/cvss/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.2 + +Changed the CVSS v2 parser and printer to omit the "CVSS:2.0/" version prefix according to the spec. + # 0.1 Introduction diff --git a/code/cvss/cvss.cabal b/code/cvss/cvss.cabal index f9d1fbb1..54ae786b 100644 --- a/code/cvss/cvss.cabal +++ b/code/cvss/cvss.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: cvss -version: 0.1 +version: 0.2 synopsis: Common Vulnerability Scoring System. description: Use this library to parse CVSS string and compute its score. diff --git a/code/hsec-core/hsec-core.cabal b/code/hsec-core/hsec-core.cabal index ac776367..10ceadcd 100644 --- a/code/hsec-core/hsec-core.cabal +++ b/code/hsec-core/hsec-core.cabal @@ -32,7 +32,7 @@ library build-depends: , base >=4.14 && <4.20 , Cabal-syntax >=3.8.1.0 && <3.11 - , cvss >= 0.1 && < 0.2 + , cvss >= 0.2 && < 0.3 , osv >= 0.1 && < 0.2 , pandoc-types >=1.22 && <2 , safe >=0.3 && <0.4 diff --git a/code/hsec-tools/hsec-tools.cabal b/code/hsec-tools/hsec-tools.cabal index 0271c4de..c09a30b8 100644 --- a/code/hsec-tools/hsec-tools.cabal +++ b/code/hsec-tools/hsec-tools.cabal @@ -57,7 +57,7 @@ library , commonmark ^>=0.2.2 , commonmark-pandoc >=0.2 && <0.3 , containers >=0.6 && <0.7 - , cvss >= 0.1 && < 0.2 + , cvss >= 0.2 && < 0.3 , data-default >=0.7 && <0.8 , directory <2 , extra ^>=1.7.5 diff --git a/code/osv/osv.cabal b/code/osv/osv.cabal index 3a28a997..19ea11ea 100644 --- a/code/osv/osv.cabal +++ b/code/osv/osv.cabal @@ -33,7 +33,7 @@ library build-depends: , aeson >=2.0.1.0 && <3 , base >=4.14 && <4.20 - , cvss >= 0.1 && < 0.2 + , cvss >=0.2 && <0.3 , text >=1.2 && <3 , time >=1.9 && <1.14