Skip to contentSkip to conversation

Security support scope (apropos of Xen and CNA)

DISCUSSION Ian Jackson 5 participants 8 messages May 4, 2017 – May 8, 2017

lore
Share & tools
lore
#0 lore raw

To become a CNA (CVE Numbering Authority), which we would like to do, we need to provide MITRE's CNA programme with a definition of the scope of our CNA. That should be the scope of our general security support, clearly.

At the moment we don't seem to have this written down in a single clear document. I am aware of the following places which can contain information about security support (normally, in the form of statements saying that certain things are not supported):

* https://wiki.xenproject.org/wiki/Xen_Project_Release_Features has a table of versions with security support, and information about some features.

* xen.git:docs/misc/qemu-xen-security, limits security support to some configurations.

* xen.git:MAINTAINERS might in principle have a status not implying security support.

* Docs for an individual feature (eg in xl docs) might say that the feature is not advised, or not supported, or something.

* Previous XSA advisories might withdraw support.

This diversity of information sources is rather unsatisfactory.

I think we need to at least reduce the number of different information sources. Also we need an overview document which points to them all.

Where should this overview document be ? Which of the above sources should be coalesced into which others ?

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#1 lore raw
Quoted 26 lines
Quoted 1 line
Quoted 1 line · On 04.05.17 at 14:53, <[email protected]> wrote:

To become a CNA (CVE Numbering Authority), which we would like to do, we need to provide MITRE's CNA programme with a definition of the scope of our CNA. That should be the scope of our general security support, clearly.

At the moment we don't seem to have this written down in a single clear document. I am aware of the following places which can contain information about security support (normally, in the form of statements saying that certain things are not supported):

* https://wiki.xenproject.org/wiki/Xen_Project_Release_Features has a table of versions with security support, and information about some features.

* xen.git:docs/misc/qemu-xen-security, limits security support to some configurations.

* xen.git:MAINTAINERS might in principle have a status not implying security support.

* Docs for an individual feature (eg in xl docs) might say that the feature is not advised, or not supported, or something.

* Previous XSA advisories might withdraw support.

Quoted 7 lines

This diversity of information sources is rather unsatisfactory.

I think we need to at least reduce the number of different information sources. Also we need an overview document which points to them all.

Where should this overview document be ? Which of the above sources should be coalesced into which others ?

Generally the (or a new) wiki page would seem the best place to me, if only there weren't some pretty fine grained restrictions, like the use of certain command line options rendering the whole thing unsupported. For that specific example, it would seem to me that only the command line doc itself would be a suitable place (and we'd basically have to go through and add a warning for every such option). Bottom line - I'm not sure a single place will do, but of course one central place could/should xref all other places with additional information.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw
In reply to Ian Jackson
Quoted 25 lines · Ian Jackson

To become a CNA (CVE Numbering Authority), which we would like to do, we need to provide MITRE's CNA programme with a definition of the scope of our CNA. That should be the scope of our general security support, clearly.

At the moment we don't seem to have this written down in a single clear document. I am aware of the following places which can contain information about security support (normally, in the form of statements saying that certain things are not supported):

* https://wiki.xenproject.org/wiki/Xen_Project_Release_Features has a table of versions with security support, and information about some features.

* xen.git:docs/misc/qemu-xen-security, limits security support to some configurations.

* xen.git:MAINTAINERS might in principle have a status not implying security support.

* Docs for an individual feature (eg in xl docs) might say that the feature is not advised, or not supported, or something.

* Previous XSA advisories might withdraw support.

Quoted 7 lines

This diversity of information sources is rather unsatisfactory.

I think we need to at least reduce the number of different information sources. Also we need an overview document which points to them all.

Where should this overview document be ? Which of the above sources should be coalesced into which others ?

IMO the overview should on the main xenproject.org site, ideally in the security process preamble, or beside it if it gets too long.

It should read something like this:

- Security support is provided for the following versions:
[List of versions, + an item on the release checklist to update it.]

- Only features listed as Supported in MAINTAINERS get support.

- Specific exemptions:
[ move qemu-xen-security here, and delete it from the tree ] [ brief summary of XSA-77 + a link for details. ]
[ anything else? I don't think we need to explicitly call out to
docs for individual features, but there might be some things to mention here, e.g. DMA attacks with IOMMU disabled. ]

Not sure about the Xen_Project_Release_Features wiki page -- it's nice to have all that info + historical versions in one place; on the other hand it's not the canonical source for most of it and risks getting out of date. Maybe it needs an introduction pointing out that MAINTAINERS and the new security scope doc are the official sources.

Cheers,

Tim.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#3 lore raw
Quoted 31 lines · Tim Deegan
Quoted 27 lines · Ian Jackson

To become a CNA (CVE Numbering Authority), which we would like to do, we need to provide MITRE's CNA programme with a definition of the scope of our CNA. That should be the scope of our general security support, clearly.

At the moment we don't seem to have this written down in a single clear document. I am aware of the following places which can contain information about security support (normally, in the form of statements saying that certain things are not supported):

* https://wiki.xenproject.org/wiki/Xen_Project_Release_Features has a table of versions with security support, and information about some features.

* xen.git:docs/misc/qemu-xen-security, limits security support to some configurations.

* xen.git:MAINTAINERS might in principle have a status not implying security support.

* Docs for an individual feature (eg in xl docs) might say that the feature is not advised, or not supported, or something.

* Previous XSA advisories might withdraw support.

This diversity of information sources is rather unsatisfactory.

Quoted 8 lines
Quoted 5 lines

I think we need to at least reduce the number of different information sources. Also we need an overview document which points to them all.

Where should this overview document be ? Which of the above sources should be coalesced into which others ?

IMO the overview should on the main xenproject.org site, ideally in the security process preamble, or beside it if it gets too long.

I am happy with that

Quoted 4 lines

It should read something like this:

- Security support is provided for the following versions:
[List of versions, + an item on the release checklist to update it.]

A bit more work, but can be done

Quoted 1 line

- Only features listed as Supported in MAINTAINERS get support.

This seems related to George's proposal of the scope. I am not sure MAINTAINERS is correct though (e.g. live-patching is probably listed as Supported but does not get security support)

Quoted 7 lines

- Specific exemptions:
[ move qemu-xen-security here, and delete it from the tree ] [ brief summary of XSA-77 + a link for details. ]
[ anything else? I don't think we need to explicitly call out to
docs for individual features, but there might be some things to mention here, e.g. DMA attacks with IOMMU disabled. ]

Quoted 5 lines

Not sure about the Xen_Project_Release_Features wiki page -- it's nice to have all that info + historical versions in one place; on the other hand it's not the canonical source for most of it and risks getting out of date. Maybe it needs an introduction pointing out that MAINTAINERS and the new security scope doc are the official sources.

Also everyone can edit it. To be honest, if we need to make changes frequently, we should probably maintain this in-tree.

Lars

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#4 lore raw

Hi,

Quoted 5 lines · Lars Kurth
Quoted 2 lines · Tim Deegan

- Only features listed as Supported in MAINTAINERS get support.

This seems related to George's proposal of the scope. I am not sure MAINTAINERS is correct though (e.g. live-patching is probably listed as Supported but does not get security support)

Ah, so it is. So there is information on the wiki page that's not in MAINTAINERS. Could that be moved into MAINTAINERS? There are a few things that don't map well to maintainership of specific files, e.g. "vMCE" or nested virtualization. But on the whole I think that adding clauses for them would be OK.

Tim.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#5 lore raw

Tim Deegan writes ("Re: Security support scope (apropos of Xen and CNA)"):

Quoted 5 lines

Ah, so it is. So there is information on the wiki page that's not in MAINTAINERS. Could that be moved into MAINTAINERS? There are a few things that don't map well to maintainership of specific files, e.g. "vMCE" or nested virtualization. But on the whole I think that adding clauses for them would be OK.

I think this is quite awkward, really. MAINTAINERS is about files, and implementations. The security support status is about parts of interfaces, which don't map at all well.

We could add no-files stanzas, but how would you tell what they referred to ?

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#6 lore raw
Quoted 6 lines · Ian Jackson

Tim Deegan writes ("Re: Security support scope (apropos of Xen and CNA)"):

Quoted 5 lines

Ah, so it is. So there is information on the wiki page that's not in MAINTAINERS. Could that be moved into MAINTAINERS? There are a few things that don't map well to maintainership of specific files, e.g. "vMCE" or nested virtualization. But on the whole I think that adding clauses for them would be OK.

Quoted 6 lines

I think this is quite awkward, really. MAINTAINERS is about files, and implementations. The security support status is about parts of interfaces, which don't map at all well.

We could add no-files stanzas, but how would you tell what they referred to ?

This is the principle behind introducing docs/features/* which, as part of the required metadata, contains a support statement.

This way, there is an authoritative statement of support on a per-feature basis which is easy to keep up to date.

Lars: Any update on your project level clarifications of support statuses?

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#7 lore raw
Quoted 17 lines · Andrew Cooper
Quoted 6 lines · Ian Jackson

Tim Deegan writes ("Re: Security support scope (apropos of Xen and CNA)"):

Quoted 5 lines

Ah, so it is. So there is information on the wiki page that's not in MAINTAINERS. Could that be moved into MAINTAINERS? There are a few things that don't map well to maintainership of specific files, e.g. "vMCE" or nested virtualization. But on the whole I think that adding clauses for them would be OK.

Quoted 6 lines

I think this is quite awkward, really. MAINTAINERS is about files, and implementations. The security support status is about parts of interfaces, which don't map at all well.

We could add no-files stanzas, but how would you tell what they referred to ?

Quoted 7 lines

This is the principle behind introducing docs/features/* which, as part of the required metadata, contains a support statement.

This way, there is an authoritative statement of support on a per-feature basis which is easy to keep up to date.

Lars: Any update on your project level clarifications of support statuses?

No, there is no vendor agreement yet on the testing side (aka what testing they commit to and what would happen if 3rd party testing outside of OSSTEST does not take place). That and what to do with "security supported" components which have poor testing for historical reasons are the only outstanding issue. These are really big issues, where there is no real consensus. I will get a Design Session in place for this at the summit: maybe we can make some progress.

However, IMHO, we can start off agreeing a format: in nutshell what we need is a list that shows feature=status - although we may want to add a few more fields, aka feature=(support status=..., maintainer status=<as per maintainers file>, tested=OSSTEST|XTF|3rd Party|..., ...). Someone needs to make a sensible proposal.

For example, we could just map "status" on what we have now: preview, experimental, supported (which includes security support) and extend/change the meaning of the status field as this gets resolved. I don't think the two things are strongly linked.

Lars
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel