From 0acaed08017e53296b25a76697c0dbe77ace5ffc Mon Sep 17 00:00:00 2001 From: Tim White Date: Sun, 3 Sep 2023 17:44:17 +1200 Subject: [PATCH] Fix a couple of leftover occurrences of 'vulnable' --- tools/README.md | 2 +- tools/create-pom.sh | 2 +- tools/create-pov-project.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/README.md b/tools/README.md index 7665a79..3336072 100644 --- a/tools/README.md +++ b/tools/README.md @@ -12,7 +12,7 @@ This folder contains tools for creating and maintaining proof-of-vulnerability p // Maven artifact GA "artifact": "org.zeroturnaround:zt-zip", // Vulnerable versions of the artifact - "vulnableVersions": [ + "vulnerableVersions": [ "1.10", "1.11", "1.12", diff --git a/tools/create-pom.sh b/tools/create-pom.sh index 70d9023..f6dba1f 100755 --- a/tools/create-pom.sh +++ b/tools/create-pom.sh @@ -5,7 +5,7 @@ DIR=$(dirname $SCRIPT) PROJECT_FILE=pov-project.json GA=$(jq -r .artifact $PROJECT_FILE) -VERSION=$(jq -r '.vulnableVersions|.[0]' $PROJECT_FILE) +VERSION=$(jq -r '.vulnerableVersions|.[0]' $PROJECT_FILE) readarray -d ':' -t split < <(printf "%s" "$GA") export CVE=$(jq -r .id $PROJECT_FILE) diff --git a/tools/create-pov-project.js b/tools/create-pov-project.js index 5248dc7..c307dca 100644 --- a/tools/create-pov-project.js +++ b/tools/create-pov-project.js @@ -89,7 +89,7 @@ const ghsaUrl = 'https://github.com/advisories/' const xshady = { id: cve, artifact: affected.package.name, - vulnableVersions: affected.versions, + vulnerableVersions: affected.versions, fixVersion: null, testSignal: "success|failure", references: [nvdUrl + cve, ghsaUrl + ghsa]