Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define version with use cases and proposed json #20

Closed
fjscao opened this issue Mar 6, 2017 · 1 comment
Closed

define version with use cases and proposed json #20

fjscao opened this issue Mar 6, 2017 · 1 comment
Labels
enhancement Request for improvement to an existing feature Project:json format CVE JSON Data Exchange Format rfc Request for comments

Comments

@fjscao
Copy link
Collaborator

fjscao commented Mar 6, 2017

The information about product versions is critical for the users to identify if the products are affected. In order to include such information into the reporting format, the use cases need to be investigated.

Two lists are provided for these use cases: one for common use cases (which will be included into the reporting format), and the other for uncommon use cases (which won't be included). The list for the latter can be added with new cases, or modified by moving the case into the list of the former if AWG agree upon.

The list of the common use case:

  • individual versions
    For example, CVE-2017-3240, RDBMS Security component of Oracle Database Server, the supported version that is affected is 12.1.0.2
    “version”: {
    “individuals”: [
    “strings of versions”, “strings separated by commas”
    ]
    }

-prior to including all the releases
For example, CVE-2016-4694, Apache HTTP Server in Apple OS X before 10.12

“version”: {
“priortoall”: “string of priortoall version”
}

-prior to including the specified release
For example, CVE-2016-6307, OpenSSL 1.1.0 before 1.1.0a

“version”: {
“priortoone”: [
{
“branch”: “string of branch”
“release”: “string of release”
}
]
}

-internals
For example, CVE-2016-8740, Apache HTTP Server 2.4.17 through 2.4.23
“version”: {
“interval”: [
{
“startrelease”: “string of release”
“endrelease”: “string of release”
}
]
}

-earlier for all the releases
For example, MySQL Enterprise Monitor component of Oracle MySQL (subcomponent: Monitoring: Agent). Supported versions that are affected are 3.1.3.7856 and earlier
“version”: {
“earliertoall”: “string of release”
}

-ealier for the specified release
For example, CVE-2016-6307, MySQL Server component of Oracle MySQL (subcomponent: Server: Security: Encryption). Supported versions that are affected are 5.6.34 and earlier and 5.7.16 and earlier

“version”: {
“earliertoone”: [
{
“branch”: “string of branch”
“release”: “string of release”
}
]
}

The list of the uncommon use case:
??

Json schema for version inside product:

"version":{
“type”:”object”,
“properties”:{
“individuals”: {
“type”:”array”
“items”: { “type”:”string”}
}

	“priortoall”: {
		“type”:”string”
	}
	
	“priortoone”: {
		“type”: “arrary”
		Items: {
			“type”:”object”,
			“properties”:{
				“branch”: {“type”:”string”},
				“release”:{“type”:”string”}
			}
			“required”:[“branch”, “release”],
		}
	}

	“interval”: {
		“type”: “arrary”
		Items: {
			“type”:”object”,
			“properties”:{
				“startrelease”: {“type”:”string”},
				“endrelease”:{“type”:”string”}
			}
			“required”:[“startrelease”, “endrelease”],
		}
	}

	“earliertoall”: {
		“type”:”string”
	}
		
	“earliertoone”: {
		“type”: “arrary”
		Items: {
			“type”:”object”,
			“properties”:{
				“branch”: {“type”:”string”},
				“release”:{“type”:”string”}
			}
			“required”:[“branch”, “release”],
		}
	}
	
}	

}

@csj0 csj0 added enhancement Request for improvement to an existing feature Project:json format CVE JSON Data Exchange Format rfc Request for comments labels May 24, 2018
@mprpic
Copy link
Collaborator

mprpic commented Mar 12, 2024

This issue is being closed as obsolete. If you feel it is still relevant to any currently running AWG initiatives, feel free to re-open it or open a new issue. Thank you!

@mprpic mprpic closed this as not planned Won't fix, can't repro, duplicate, stale Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Request for improvement to an existing feature Project:json format CVE JSON Data Exchange Format rfc Request for comments
Projects
None yet
Development

No branches or pull requests

3 participants