Suppose you have cloned https://github.com/CVEProject/cvelistV5
Find all CVE-IDs for which the assignerShortName
of the cveMetadata
is "Go":
find cves -type f -name 'CVE-*.json' -exec cat {} + |
jq -r '.cveMetadata | select(.assignerShortName == "Go") | .cveId'
Same with title:
find cves -type f -name 'CVE-*.json' -exec cat {} + |
jq -r 'select(.cveMetadata.assignerShortName == "Go") | "\(.cveMetadata.cveId) \(.containers.cna.title)"'