5.1.0 allows use of versionType purl with no syntax validation #300
Labels
bug
Something isn't working
Needs Discussion
Discuss in a future QWG meeting or on mailing list
section:affected_product
Schema location is affected or product
The CVE Program is currently sending a public announcement that 5.1.0 supports Package URLs through the use of versionType. This means that a provider can choose to enter
or any of the other example values from the https://github.com/package-url/purl-spec/blob/master/PURL-SPECIFICATION.rst document. The only validation from the schema is that the value is a string of between 1 and 1024 characters. Also, the CVE Services server does not validate that the value complies with the purl specification. In other words, the level of support is different from, for example,
cve-schema/schema/v5.0/docs/CVE_JSON_bundled.json
Lines 253 to 254 in 2aa608b
(CPE is not accepted unless it complies with the CPE syntax.)
cve-schema/schema/v5.0/docs/CVE_JSON_bundled.json
Lines 1303 to 1305 in 2aa608b
(CVSS is not accepted unless it complies with the CVSS syntax.)
etc.
We, of course, don't know whether any provider will ever use
"versionType": "purl"
with syntactically incorrect data. We might consider whether:"versionType": "purl"
dataThe text was updated successfully, but these errors were encountered: