-
Notifications
You must be signed in to change notification settings - Fork 13
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
Update IT advisories #128
base: develop
Are you sure you want to change the base?
Update IT advisories #128
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CSAF itself looks good. However the hash file and signature file of the CSAF should be regenerated to reflect the changed CSAF.
@@ -94,7 +94,7 @@ | |||
"branches": [ | |||
{ | |||
"category": "product_version_range", | |||
"name": "all versions", | |||
"name": "<=4.8.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"all versions" is invalid. See documentation above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with the above change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC Adminer "4.8.1" happens to be a "Vers -like Specifier (vls)" so I think this change works syntactically and I understand that "all versions" is not valid.
However I'm slightly concerned with how to interpret this limit on the version range. The product is used in status and remediation elements. "<=4.8.1" might imply that there might be a more recent version, and is that more recent version fixed? We can't know the future at the time of publication, could update the CSAF if a new/fixed version is released, and the CSAF VEX profile has an explicit "Fixed" status, but at least for those familar with the CVE ecosystem, "<=4.8.1" could imply "fixed in >4.8.1, now go look to see if any such versions exist."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amanion-cisa there is also this as an option:
Version Range Specifier (vers)
vers is an ongoing community effort to address the problem of version ranges. Its draft specification is available at [VERS].
vers MUST be used in its canonical form. To convey the term "all versions" the special string vers:all/* MUST be used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used vers:all/* for the Adminer advisory, I think this is more correct informationally, see develop...amanion-cisa:CSAF:jmfixes#diff-b68d7bbabc197e783ddff83a11b37d5c9e309aeec18c89cf5551b478586daac1L97-R166.
@@ -158,7 +158,7 @@ | |||
"product_id": "CSAFPID-0078" | |||
}, | |||
"category": "product_version_range", | |||
"name": "all versions" | |||
"name": "<4.8.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above comment re: version:
https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html#31231-branches-type---name-under-product-version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with the above change.
] | ||
"Matthew Galligan" | ||
], | ||
"organization": "CISA Rapid Action Force", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html#311-acknowledgments-type
Properties for acknowledgements are names, organization, summary, and urls. Moved organization from names property to organization property.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with the above change.
] | ||
"Matthew Galligan" | ||
], | ||
"organization": "CISA Rapid Action Force", | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with the above change.
] | ||
"Matthew Galligan" | ||
], | ||
"organization": "CISA Rapid Action Force", | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with the above change.
@mstrad the issue I am seeing is the product tree structure: Going to revise the advisory to meet recommended structure and will ping you for another review. I believe that all the IT advisories will need to be revised for product tree structure, and then small edits to the |
@justmurphy I see what you're saying. Initially I was only reviewing the proposed changes in this PR itself. All of which I agree with and offer the reminder that new hashes and signature files will need to be made and pushed to the repo when a CSAF file is updated. :) To the comment above, I agree. I took a look at the raw CSAF file and I agree that following the recommended product tree structure should be followed with the ending leaf being a product_version or product_version_range. Will this recommendation become a requirement in future CSAF versions? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW I'm fine with the changes, they are fixing technically incorrect CSAF. I can make the updates including new hashes, signatures, and ROLIE files if you'd like.
@@ -94,7 +94,7 @@ | |||
"branches": [ | |||
{ | |||
"category": "product_version_range", | |||
"name": "all versions", | |||
"name": "<=4.8.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC Adminer "4.8.1" happens to be a "Vers -like Specifier (vls)" so I think this change works syntactically and I understand that "all versions" is not valid.
However I'm slightly concerned with how to interpret this limit on the version range. The product is used in status and remediation elements. "<=4.8.1" might imply that there might be a more recent version, and is that more recent version fixed? We can't know the future at the time of publication, could update the CSAF if a new/fixed version is released, and the CSAF VEX profile has an explicit "Fixed" status, but at least for those familar with the CVE ecosystem, "<=4.8.1" could imply "fixed in >4.8.1, now go look to see if any such versions exist."
Here are fixes for version ranges and acknowledgments (and section headings, not initially part of this PR): develop...amanion-cisa:CSAF:jmfixes I won't send a PR until we've reviewed these changes. |
π£ Description
π Motivation and context
π§ͺ Testing
β Pre-approval checklist
in code comments.
to reflect the changes in this PR.
β Pre-merge checklist
β Post-merge checklist