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

Reorder version ranges in some Jenkins CVEs towards JSON v5 #7818

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

daniel-beck
Copy link
Contributor

@daniel-beck daniel-beck commented Oct 26, 2022

CVE JSON v5 has an unambiguous definition how to interpret version ranges, something previously missing (as discussed in github/advisory-database#771).

(While JSON v5 states that

The versions matched by different objects should be disjoint

it is not a requirement, and the algorithm

for entry in product.versions {
	if entry matches V {
		return status specified by entry for V
	}
}
return product.defaultStatus

provides an unambiguous result for overlapping version range specifications.)

This is an update of some affected Jenkins CVEs to see whether they'd be migrated to JSON v5 in a way that properly excludes the specified backports from the version ranges.

This does not address the problem of future releases on the backport branch, but I don't think that can be done with JSON v4 anyway. This also does not fix all 2020-2022 CVEs in Jenkins affected by this problem -- that's a followup PR if this one is successful.

@cve-team cve-team self-assigned this Oct 26, 2022
Copy link

@Kevin-CB Kevin-CB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Syntax reviewed

@daniel-beck daniel-beck marked this pull request as ready for review October 27, 2022 09:22
@daniel-beck daniel-beck requested a review from cve-team as a code owner October 27, 2022 09:22
@cve-team cve-team merged commit c4cf760 into CVEProject:master Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants