Skip to contentSkip to conversation

Start using github security advisories

DISCUSSION Joseph Reynolds 6 participants 10 messages Oct 13, 2021 – Oct 28, 2021

lore
Share & tools
lore
#0 lore raw

Per today's Security working group meeting, we want to start using [GitHub security advisories][].  I think we need someone with admin permissions to github.com/openbmc/openbmc to create new advisories. Then we'll want a group (team? perhaps security-response-team) with the current OpenBMC [security response team][] members.  (I have that list.)

How do we get started?  Who has admin authority?

Joseph

[GitHub security advisories]: https://docs.github.com/en/code-security/security-advisories/about-github-security-advisories
[security response team]: https://github.com/openbmc/docs/blob/master/security/obmc-security-response-team-guidelines.md

#1 lore raw
Quoted 1 line

Per today's Security working group meeting, we want to start using [GitHub security advisories][]. I think we need someone with admin permissions to github.com/openbmc/openbmc to create new advisories. Then we'll want a group (team? perhaps security-response-team) with the current OpenBMC [security response team][] members. (I have that list.)

Looks like you’ll need admin authority on openbmc/openbmc in order to utilize the security advisories feature. I wonder if it’s better to create a openbmc/security repo and we can give you and the security team admin of that repo for this work? This would also provide a potential location to track github issues for the security team.

Quoted 13 lines · Joseph Reynolds

Per today's Security working group meeting, we want to start using [GitHub security advisories][]. I think we need someone with admin permissions to github.com/openbmc/openbmc to create new advisories. Then we'll want a group (team? perhaps security-response-team) with the current OpenBMC [security response team][] members. (I have that list.)

How do we get started? Who has admin authority?

Joseph

[GitHub security advisories]: https://docs.github.com/en/code-security/security-advisories/about-github-security-advisories
[security response team]: https://github.com/openbmc/docs/blob/master/security/obmc-security-response-team-guidelines.md

#2 lore raw
Quoted 3 lines · Andrew Geissler
Quoted 1 line

Per today's Security working group meeting, we want to start using [GitHub security advisories][]. I think we need someone with admin permissions to github.com/openbmc/openbmc to create new advisories. Then we'll want a group (team? perhaps security-response-team) with the current OpenBMC [security response team][] members. (I have that list.)

Looks like you’ll need admin authority on openbmc/openbmc in order to utilize the security advisories feature. I wonder if it’s better to create a openbmc/security repo and we can give you and the security team admin of that repo for this work? This would also provide a potential location to track github issues for the security team.

This was my thinking as well Andrew. I'll create openbmc/security-response if I don't see any complaints in the next little while.

-brad

#3 lore raw
Quoted 8 lines · Brad Bishop
Quoted 3 lines · Andrew Geissler
Quoted 1 line

Per today's Security working group meeting, we want to start using [GitHub security advisories][].  I think we need someone with admin permissions to github.com/openbmc/openbmc to create new advisories. Then we'll want a group (team? perhaps security-response-team) with the current OpenBMC [security response team][] members.  (I have that list.)

Looks like you’ll need admin authority on openbmc/openbmc in order to utilize the security advisories feature. I wonder if it’s better to create a openbmc/security repo and we can give you and the security team admin of that repo for this work? This would also provide a potential location to track github issues for the security team.

This was my thinking as well Andrew.  I'll create openbmc/security-response if I don't see any complaints in the next little while.

-brad

I believe we want to make sure that none of security advisories get sent to Discord, wouldn't want to accidentally be going to something like #gh-issues.

#4 lore raw

Brad or Andrew, Can we proceed with the creation of security repository so that we can run a couple of trials on security issues?

I think it's important that we are able to meet the following criteria using a github repo with restricted access.

a) individual security issues can be restricted using access control lists without granting global access to all security issues.
b) individual security issues can be linked to private code reviews and discussions without leaking information beyond those with a need to know.

Regards, James.

Quoted 35 lines

-----Original Message-----
From: openbmc <openbmc- [email protected]> On Behalf Of Bruce Mitchell
Sent: Monday, October 18, 2021 12:06 PM
To: Brad Bishop <[email protected]>; Andrew Geissler <[email protected]>
Cc: openbmc <[email protected]>; Joseph Reynolds <[email protected]>
Subject: Re: Start using github security advisories

Quoted 14 lines · Brad Bishop
Quoted 7 lines · Andrew Geissler
Quoted 6 lines

Per today's Security working group meeting, we want to start using [GitHub security advisories][].  I think we need someone with admin permissions to github.com/openbmc/openbmc to create new advisories. Then we'll want a group (team? perhaps security-response-team) with the current OpenBMC [security response team][] members.  (I have that list.)

Quoted 5 lines

Looks like you’ll need admin authority on openbmc/openbmc in order to utilize the security advisories feature. I wonder if it’s better to create a openbmc/security repo and we can give you and the security team admin of that repo for this work? This would also provide a potential location to track github issues for the security team.

Quoted 5 lines

This was my thinking as well Andrew.  I'll create openbmc/security-response if I don't see any complaints in the next little while.

-brad

I believe we want to make sure that none of security advisories get sent to Discord, wouldn't want to accidentally be going to something like #gh-issues.

#5 lore raw
Quoted 2 lines · James

Brad or Andrew, Can we proceed with the creation of security repository so that we can run a couple of trials on security issues?

Hi James, thanks for the ping.

The only reason I haven't already done this was this comment from Bruce:

Quoted 4 lines
Quoted 4 lines

I believe we want to make sure that none of security advisories get sent to Discord, wouldn't want to accidentally be going to something like #gh-issues.

This was a good point and I'm not sure what to do about it.

-brad

#6 lore raw
Quoted 10 lines · Brad Bishop
Quoted 2 lines · James

Brad or Andrew, Can we proceed with the creation of security repository so that we can run a couple of trials on security issues?

Hi James, thanks for the ping.

The only reason I haven't already done this was this comment from Bruce:

Quoted 1 line
Quoted 1 line
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

I believe we want to make sure that none of security advisories get sent to Discord, wouldn't want to accidentally be going to something like #gh-issues.

This was a good point and I'm not sure what to do about it.

Hi James

I created the security-reponse github group and the security-response repo just now and made it private. Please do some testing and make sure issues don't find their way into #gh-issues on Discord.

thx - brad

#7 lore raw
Quoted 12 lines · Brad Bishop
Quoted 11 lines · Brad Bishop
Quoted 2 lines · James

Brad or Andrew, Can we proceed with the creation of security repository so that we can run a couple of trials on security issues?

Hi James, thanks for the ping.

The only reason I haven't already done this was this comment from Bruce:

Quoted 3 lines
Quoted 3 lines

I believe we want to make sure that none of security advisories get sent to Discord, wouldn't want to accidentally be going to something like #gh-issues.

Quoted 8 lines
Quoted 1 line

This was a good point and I'm not sure what to do about it.

Hi James

I created the security-reponse github group and the security-response repo just now and made it private. Please do some testing and make sure issues don't find their way into #gh-issues on Discord.

thx - brad

Thanks Brad!

The plan is to write the first issues from real-live but low-severity  problems which are also common knowledge within the openBMC community.  Meaning: there will be minimal harm if the problem is disclosed.

- Joseph

#8 lore raw
Quoted 22 lines · Joseph Reynolds
Quoted 12 lines · Brad Bishop
Quoted 11 lines · Brad Bishop
Quoted 2 lines · James

Brad or Andrew, Can we proceed with the creation of security repository so that we can run a couple of trials on security issues?

Hi James, thanks for the ping.

The only reason I haven't already done this was this comment from Bruce:

Quoted 3 lines
Quoted 3 lines

I believe we want to make sure that none of security advisories get sent to Discord, wouldn't want to accidentally be going to something like #gh-issues.

Quoted 8 lines
Quoted 1 line

This was a good point and I'm not sure what to do about it.

Hi James

I created the security-reponse github group and the security-response repo just now and made it private. Please do some testing and make sure issues don't find their way into #gh-issues on Discord.

thx - brad

Quoted 7 lines

Thanks Brad!

The plan is to write the first issues from real-live but low-severity problems which are also common knowledge within the openBMC community.
Meaning: there will be minimal harm if the problem is disclosed.

- Joseph

I want to reiterate three things:

1. In Github, security advisories are different from issues. Security advisories are suppose to be able to be collaborated on in private without the repository itself being private. Only when you are ready to reveal the security advisory can you switch it to be public.

2. We have two webhooks for Discord now: one for issues and one for code changes. Security advisories are not currently covered. If you make an issue in a public repository anyone can see it, even if it isn't covered by a Discord webhook, so "limiting the awareness by avoiding the Discord webhook" isn't really what you want anyhow. You need to make sure the information you want to be kept private is private (and again security advisories are suppose to be the way to do that).

3. Having a private repository means you cannot report any security advisories (or issues) in a public way. Today if someone goes to
https://github.com/openbmc/security-response they get a 404 (unless they have explicit access to the private repository).

Signature · 1 line
Patrick Williams
#9 lore raw
Quoted 7 lines · Patrick Williams

...snip...
I want to reiterate three things:

1. In Github, security advisories are different from issues. Security advisories are suppose to be able to be collaborated on in private without the repository itself being private. Only when you are ready to reveal the security advisory can you switch it to be public.

That matches my understanding.  The entire openbmc/security-response repo will be private to the OpenBMC security response team. In this repo we will:
A. Track reported vulnerabilities under openbmc/security-response/issues.
B. Work on draft security advisories.

We don't have the exact workflow worked out.  I was thinking we could publish the security advisories under openbmc/openbmc/security.

Security advisory notes:
- The term "security advisory" as used here means the public announcement of a security vulnerability together with a mitigation (such as a fix or a workaround).  The OpenBMC security response team works on the security advisory in private, and then publishes these advisories when ready.  See the [guidelines][].
- IBM X-Force collects "security advisories" from all sources and publishes "security advisories" which it calls "security bulletins".  The main distinction is advisories are input to the process, and bulletins are output.

[guidelines]: https://github.com/openbmc/docs/blob/master/security/obmc-security-response-team-guidelines.md

Quoted 7 lines

2. We have two webhooks for Discord now: one for issues and one for code changes. Security advisories are not currently covered. If you make an issue in a public repository anyone can see it, even if it isn't covered by a Discord webhook, so "limiting the awareness by avoiding the Discord webhook" isn't really what you want anyhow. You need to make sure the information you want to be kept private is private (and again security advisories are suppose to be the way to do that).

We plan to test the confidentiality of the openbmc/security-response repo with respect to discord.

Quoted 4 lines

3. Having a private repository means you cannot report any security advisories (or issues) in a public way. Today if someone goes to
https://github.com/openbmc/security-response they get a 404 (unless they have explicit access to the private repository).

I was thinking we could publish the security advisories under openbmc/openbmc/security. We are still trying to figure out the workflow.