Skip to contentSkip to conversation

Resources for glibc CNA

DISCUSSION Siddhesh Poyarekar 3 participants 7 messages Aug 10, 2023 – Aug 11, 2023

lore
Share & tools
lore
#0 lore raw

Hello,

I recently proposed setting up a CNA for glibc and it looks like there's general consensus on us doing this. As part of this set up we would need an email address (preferably one that can accept encrypted submissions from issue reporters) to reach the glibc security team and web pages to publish security advisories.

I wanted to know if this is something we could/should set up on LF infrastructure or if I should try and get something up on sourceware. Konstantin, does LF already have some infrastructure for this that we can share?

Thanks,
Sid

#1 lore raw
Quoted 7 lines · Siddhesh Poyarekar

Hello,

I recently proposed setting up a CNA for glibc and it looks like there's general consensus on us doing this. As part of this set up we would need an email address (preferably one that can accept encrypted submissions from issue reporters) to reach the glibc security team and web pages to publish security advisories.

I am not familiar with "CNA" in this context, but I assume it's some kind of Numbering Authority similar to a CVE?

Quoted 4 lines

I wanted to know if this is something we could/should set up on LF infrastructure or if I should try and get something up on sourceware. Konstantin, does LF already have some infrastructure for this that we can share?

Yes and no. We do have infrastructure for encrypted communication called "remail" where hardware vendors discuss vulnerabilities that are likely to affect millions of high-profile devices. For example, it was used for collaborating on the patches fixing the recent speculative execution vulnerabilities. The setup is described in this document:
https://korg.docs.kernel.org/remail.html

However, this may be an overkill for what you need and also introduces multiple levels of complexity that you may not want. The alternative is to set up a private PGP keypair and share the decryption and signing subkeys among members who are duty bound to respond to vulnerability reports.

For the publication, I usually strongly advise a simple static site that can withstand very high traffic. I believe there is general consensus that "toolchain.dev" is the domain to be used for CTI purposes, so something could be published on advisories.toolchain.dev or similar.

-K

#2 lore raw
Quoted 11 lines · Konstantin Ryabitsev
Quoted 7 lines · Siddhesh Poyarekar

Hello,

I recently proposed setting up a CNA for glibc and it looks like there's general consensus on us doing this. As part of this set up we would need an email address (preferably one that can accept encrypted submissions from issue reporters) to reach the glibc security team and web pages to publish security advisories.

I am not familiar with "CNA" in this context, but I assume it's some kind of Numbering Authority similar to a CVE?

Sorry, yes, CNA is CVE Numbering Authority. We're looking to form a volunteer group to become a CNA under Red Hat as the root CNA so that we can triage incoming reports first hand.

Quoted 12 lines
Quoted 4 lines

I wanted to know if this is something we could/should set up on LF infrastructure or if I should try and get something up on sourceware. Konstantin, does LF already have some infrastructure for this that we can share?

Yes and no. We do have infrastructure for encrypted communication called "remail" where hardware vendors discuss vulnerabilities that are likely to affect millions of high-profile devices. For example, it was used for collaborating on the patches fixing the recent speculative execution vulnerabilities. The setup is described in this document:
https://korg.docs.kernel.org/remail.html

Quoted 4 lines

However, this may be an overkill for what you need and also introduces multiple levels of complexity that you may not want. The alternative is to set up a private PGP keypair and share the decryption and signing subkeys among members who are duty bound to respond to vulnerability reports.

remail functionality is exactly what I had in mind actually. What complexity would be involved in setting this up?

Quoted 4 lines

For the publication, I usually strongly advise a simple static site that can withstand very high traffic. I believe there is general consensus that "toolchain.dev" is the domain to be used for CTI purposes, so something could be published on advisories.toolchain.dev or similar.

Ack, a static site would be perfect, perhaps with markdown pages and git access, similar to our plan for the wiki.

Thanks,
Sid

#3 lore raw
Quoted 7 lines · Siddhesh Poyarekar
Quoted 7 lines

Yes and no. We do have infrastructure for encrypted communication called "remail" where hardware vendors discuss vulnerabilities that are likely to affect millions of high-profile devices. For example, it was used for collaborating on the patches fixing the recent speculative execution vulnerabilities. The setup is described in this document:
https://korg.docs.kernel.org/remail.html

Quoted 7 lines
Quoted 4 lines

However, this may be an overkill for what you need and also introduces multiple levels of complexity that you may not want. The alternative is to set up a private PGP keypair and share the decryption and signing subkeys among members who are duty bound to respond to vulnerability reports.

remail functionality is exactly what I had in mind actually. What complexity would be involved in setting this up?

It's managed via a backend git repository and mostly just requires getting familiar with the format. While it does support S/MIME, the general experience thus far has been that it's not worth the trouble, so everyone just does PGP.

It wouldn't take too much effort to roll it out, but we do need to settle on the domain name to use, since we'd have to set it up for mail delivery.

Quoted 7 lines
Quoted 4 lines

For the publication, I usually strongly advise a simple static site that can withstand very high traffic. I believe there is general consensus that "toolchain.dev" is the domain to be used for CTI purposes, so something could be published on advisories.toolchain.dev or similar.

Ack, a static site would be perfect, perhaps with markdown pages and git access, similar to our plan for the wiki.

Another option is a restricted public advisories mailing list with a public-inbox frontend (similar to lore.kernel.org). This would provide you with both pull-based and push-based subscription options.

-K

#4 lore raw
Quoted 16 lines · Konstantin Ryabitsev
Quoted 7 lines · Siddhesh Poyarekar
Quoted 7 lines

Yes and no. We do have infrastructure for encrypted communication called "remail" where hardware vendors discuss vulnerabilities that are likely to affect millions of high-profile devices. For example, it was used for collaborating on the patches fixing the recent speculative execution vulnerabilities. The setup is described in this document:
https://korg.docs.kernel.org/remail.html

Quoted 7 lines
Quoted 4 lines

However, this may be an overkill for what you need and also introduces multiple levels of complexity that you may not want. The alternative is to set up a private PGP keypair and share the decryption and signing subkeys among members who are duty bound to respond to vulnerability reports.

remail functionality is exactly what I had in mind actually. What complexity would be involved in setting this up?

Quoted 6 lines

It's managed via a backend git repository and mostly just requires getting familiar with the format. While it does support S/MIME, the general experience thus far has been that it's not worth the trouble, so everyone just does PGP.

It wouldn't take too much effort to roll it out, but we do need to settle on the domain name to use, since we'd have to set it up for mail delivery.

I don't have a strong opinion here, but I would rather start *simple* and _then_ scale up to remail only if we need it. If we can just use gpg/pgp then I would prefer that.

I agree we need to settle on the domain name, and I would also pick "toolchain.dev" since we want to use that for other CTI projects, and a landing page like "advisories.toolchain.dev" would be fine.

Quoted 11 lines
Quoted 7 lines
Quoted 4 lines

For the publication, I usually strongly advise a simple static site that can withstand very high traffic. I believe there is general consensus that "toolchain.dev" is the domain to be used for CTI purposes, so something could be published on advisories.toolchain.dev or similar.

Ack, a static site would be perfect, perhaps with markdown pages and git access, similar to our plan for the wiki.

Another option is a restricted public advisories mailing list with a public-inbox frontend (similar to lore.kernel.org). This would provide you with both pull-based and push-based subscription options.

I like the static site backed by git better because it allows us to do all kinds of git-based auditing and review. I get the appeal of a mailing list, but I'd still end up committing something somewhere, and then sending an email via an API. Might as well just commit and regenerate the pages.

Signature · 2 lines
Cheers,
Carlos.
#5 lore raw
Quoted 2 lines · Carlos O'Donell

I don't have a strong opinion here, but I would rather start *simple* and _then_ scale up to remail only if we need it. If we can just use gpg/pgp then I would prefer that.

Maybe we could start with a regular, private mailing list and publish keys of some security team members to give reporters the option to use them if they need to encrypt their communication. Team members that get contacted may need to act as pigeons between the mailing list and the reporter though. We could start like this and see how quickly this gets painful. I don't like the idea of sharing a subkey among multiple people :/

Quoted 3 lines

I agree we need to settle on the domain name, and I would also pick "toolchain.dev" since we want to use that for other CTI projects, and a landing page like "advisories.toolchain.dev" would be fine.

[bikeshed] security.toolchain.dev because we'll need a security policy page too, even if it just means pointing to or replicating the contents of our SECURITY.md.

Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines

For the publication, I usually strongly advise a simple static site that can withstand very high traffic. I believe there is general consensus that "toolchain.dev" is the domain to be used for CTI purposes, so something could be published on advisories.toolchain.dev or similar.

Ack, a static site would be perfect, perhaps with markdown pages and git access, similar to our plan for the wiki.

Quoted 9 lines
Quoted 3 lines

Another option is a restricted public advisories mailing list with a public-inbox frontend (similar to lore.kernel.org). This would provide you with both pull-based and push-based subscription options.

I like the static site backed by git better because it allows us to do all kinds of git-based auditing and review. I get the appeal of a mailing list, but I'd still end up committing something somewhere, and then sending an email via an API. Might as well just commit and regenerate the pages.

... and git allows us to edit advisories too. In fact, all of security.toolchain.dev could just be a repo with:

- index.md
- policy/
- glibc-SECURITY.md (Gives us space to add more projects in future)
- advisories/
- CVE-9999-99999.md
- CVE-9999-99998.md
- CVE-9999-99997.md
...

Sid

#6 lore raw
Quoted 5 lines · Siddhesh Poyarekar
Quoted 3 lines · Carlos O'Donell

I don't have a strong opinion here, but I would rather start *simple* and _then_ scale up to remail only if we need it. If we can just use gpg/pgp then I would prefer that.

Quoted 7 lines

Maybe we could start with a regular, private mailing list and publish keys of some security team members to give reporters the option to use them if they need to encrypt their communication. Team members that get contacted may need to act as pigeons between the mailing list and the reporter though. We could start like this and see how quickly this gets painful. I don't like the idea of sharing a subkey among multiple people :/

I don't like sharing any keys either.

I think we would publish the keys of the current group and update that as people leave and join the group.

Quoted 7 lines
Quoted 3 lines

I agree we need to settle on the domain name, and I would also pick "toolchain.dev" since we want to use that for other CTI projects, and a landing page like "advisories.toolchain.dev" would be fine.

[bikeshed] security.toolchain.dev because we'll need a security policy page too, even if it just means pointing to or replicating the contents of our SECURITY.md.

Sure. Blue shed is fine with me.

Quoted 21 lines
Quoted 14 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

For the publication, I usually strongly advise a simple static site that can withstand very high traffic. I believe there is general consensus that "toolchain.dev" is the domain to be used for CTI purposes, so something could be published on advisories.toolchain.dev or similar.

Quoted 7 lines
Quoted 2 lines

Ack, a static site would be perfect, perhaps with markdown pages and git access, similar to our plan for the wiki.

Another option is a restricted public advisories mailing list with a public-inbox frontend (similar to lore.kernel.org). This would provide you with both pull-based and push-based subscription options.

Quoted 6 lines

I like the static site backed by git better because it allows us to do all kinds of git-based auditing and review. I get the appeal of a mailing list, but I'd still end up committing something somewhere, and then sending an email via an API. Might as well just commit and regenerate the pages.

Quoted 2 lines

... and git allows us to edit advisories too. In fact, all of security.toolchain.dev could just be a repo with:

Agreed 100% on a repo with md files or rst to publish with sphinx and readthedocs.

Signature · 2 lines
Cheers,
Carlos.