CVEProject / cve-schema

This repository is used for the development of the CVE JSON record format. Releases of the CVE JSON record format will also be published here. This repository is managed by the CVE Quality Working Group.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

versions.md misuses 1.0 in a semver example

ElectricNroff opened this issue · comments

https://github.com/CVEProject/cve-schema/blob/2aa608b6733cc2730a43901472ef0e706d0ef2b5/schema/v5.0/docs/versions.md has an example of

{
	"version": "1.0",
	"versionType": "semver",
	"lessThan": "2.*",
	"status": "affected"
}

but this should instead be written as:

{
	"version": "1.0.0",
	"versionType": "semver",
	"lessThan": "2.*",
	"status": "affected"
}

because version 1.0 cannot exist when semantic versioning is used: https://semver.org